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::Add Method (KeyValuePair<String^, Object^>)
Adds a KeyValuePair<TKey, TValue> object to the WebTestContext.
Assembly: Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Parameters
- keyValuePair
-
Type:
System.Collections.Generic::KeyValuePair<String^, Object^>
The object to add.
Implements
ICollection<T>::Add(T)| Exception | Condition |
|---|---|
| ArgumentNullException | key of the keyValuePair is null. |
| ArgumentException | An element with the same key already occurs in the collection. |
Show: