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 (String^)
Removes the element with the specified key from the WebTestContext.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Parameters
- key
-
Type:
System::String^
The key to remove from the WebTestContext.
Return Value
Type: System::Booleantrue if the element is successfully removed; otherwise, false. This also returns false if the key is not found.
Implements
IDictionary<TKey, TValue>::Remove(TKey)| Exception | Condition |
|---|---|
| ArgumentNullException | key is null. |
No changes are made to the underlying collection if the key to remove is not found.
Show: