This documentation is archived and is not being maintained.

WebTestContext.Clear Method

Removes all the elements from the WebTestContext.

Namespace: Microsoft.VisualStudio.TestTools.WebTesting
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in microsoft.visualstudio.qualitytools.webtestframework.dll)

public void Clear ()
public final void Clear ()
public final function Clear ()

Count is set to zero. All references from objects in the collection are released.

Show: