Udostępnij za pośrednictwem


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)

Syntax

'Declaration
Public Sub Clear
'Usage
Dim instance As WebTestContext

instance.Clear()
public void Clear()
public:
virtual void Clear() sealed
public final function Clear()

Implements

ICollection<T>.Clear()

Remarks

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

.NET Framework Security

See Also

Reference

WebTestContext Class

WebTestContext Members

Microsoft.VisualStudio.TestTools.WebTesting Namespace