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.

LoadTestContext::Item Property (String^)

 

Gets or sets a LoadTestContext element that has the specified key.

Namespace:   Microsoft.VisualStudio.TestTools.LoadTesting
Assembly:  Microsoft.VisualStudio.QualityTools.LoadTestFramework (in Microsoft.VisualStudio.QualityTools.LoadTestFramework.dll)

public:
property Object^ default[
	String^ key
] {
	virtual Object^ get(String^ key) sealed;
	virtual void set(String^ key, Object^ value) sealed;
}

Parameters

key
Type: System::String^

The key of the element to get or set.

Property Value

Type: System::Object^

The element that has the specified key.

Exception Condition
ArgumentNullException

key is null.

KeyNotFoundException

The property is retrieved and key is not found.

NotSupportedException

The property is set and the LoadTestContext is read-only.

Return to top
Show: