Share via


IContextAccessor.GetIntValue(String) Method

Definition

Retrieves the value that is associated with the specified key.

public:
 int GetIntValue(System::String ^ key);
public int GetIntValue (string key);
abstract member GetIntValue : string -> int
Public Function GetIntValue (key As String) As Integer

Parameters

key
String

A string that represents the key of the element to retrieve.

Returns

The retrieved int value.

Applies to