IContextAccessor.AddObject(String, Object) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Adds an element with the specified key and value.
public:
void AddObject(System::String ^ key, System::Object ^ value);
public void AddObject (string key, object value);
abstract member AddObject : string * obj -> unit
Public Sub AddObject (key As String, value As Object)
Parameters
- key
- String
A string that represents the key of the element to add.
- value
- Object
An object value to add.