Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds an element with the specified key and value.
Namespace: Microsoft.VisualStudio.TestTools.Execution
Assembly: Microsoft.VisualStudio.QualityTools.ExecutionCommon (in Microsoft.VisualStudio.QualityTools.ExecutionCommon.dll)
Syntax
'Declaration
Sub AddObject ( _
key As String, _
value As Object _
)
void AddObject(
string key,
Object value
)
void AddObject(
String^ key,
Object^ value
)
abstract AddObject :
key:string *
value:Object -> unit
function AddObject(
key : String,
value : Object
)
Parameters
- key
Type: System.String
A string that represents the key of the element to add.
- value
Type: System.Object
An object value to add.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.