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::Add Method (KeyValuePair<String^, Object^>)

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

public:
virtual void Add(
	KeyValuePair<String^, Object^> keyValuePair
) sealed

Parameters

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

The object to add.

Exception Condition
ArgumentNullException

key of the keyValuePair is null.

ArgumentException

An element with the same key already occurs in the collection.

Return to top
Show: