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.
IContextAccessor Interface
Interface to use to build a helper class to store and retrieve values from contexts.
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
| Name | Description | |
|---|---|---|
![]() | Count | Gets the total number of values that are stored. |
| Name | Description | |
|---|---|---|
![]() | AddDoubleValue(String^, Double) | Adds an element by using the specified key and value. |
![]() | AddIntValue(String^, Int32) | Adds an element with the specified key and value. |
![]() | AddObject(String^, Object^) | Adds an element with the specified key and value. |
![]() | AddStringValue(String^, String^) | Adds an element with the specified key and value. |
![]() | GetDoubleValue(String^) | Retrieves the value that is associated with the specified key. |
![]() | GetEnumerator() | Returns an IDictionaryEnumerator that iterates through the IContextAccessor. |
![]() | GetIntValue(String^) | Retrieves the value that is associated with the specified key. |
![]() | GetObject(String^) | Retrieves the object that is associated with the specified key. |
![]() | GetStringValue(String^) | Retrieves a string that is associated with the specified key. |
![]() | RemoveValue(String^) | Removes the element with the specified key. |
Show:

