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.
LoadTestUserContext::Item Property (String^)
Gets or sets a LoadTestUserContext element that has the specified key.
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.
Implements
IDictionary<TKey, TValue>::Item[TKey]| Exception | Condition |
|---|---|
| ArgumentNullException | key is null. |
| KeyNotFoundException | The property is retrieved and key is not found. |
| NotSupportedException | The property is set and the LoadTestUserContext is read-only. |
Show: