Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

WebTestContext::Remove Method (KeyValuePair<String^, Object^>)

 
Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public:
virtual bool Remove(
	KeyValuePair<String^, Object^> keyValuePair
) sealed

Parameters

keyValuePair
Type: System.Collections.Generic::KeyValuePair<String^, Object^>

A KeyValuePair<TKey, TValue> object to remove from the collection.

Return Value

Type: System::Boolean

true if the element is successfully removed; otherwise, false. This also returns false if the key is not found.

No changes are made to the underlying collection if the key to remove is not found.

Return to top
Show: