Compartilhar via


IGraphContext.GetValue<T>(String) Method

Definition

Retrieves a value that the caller has passed in.

public:
generic <typename T>
 T GetValue(System::String ^ name);
public T GetValue<T> (string name);
abstract member GetValue : string -> 'T
Public Function GetValue(Of T) (name As String) As T

Type Parameters

T

The expected type of the value.

Parameters

name
String

The key of the value.

Returns

T

Returns the value or default(T)"/>

Applies to