Share via


IContextAccessor.GetObject(String) Method

Definition

Retrieves the object that is associated with the specified key.

public:
 System::Object ^ GetObject(System::String ^ key);
public object GetObject (string key);
abstract member GetObject : string -> obj
Public Function GetObject (key As String) As Object

Parameters

key
String

A string that represents the key for the value to retrieve.

Returns

The retrieved object value.

Applies to