Udostępnij za pośrednictwem


SettingRequestResult.DeserializeValue<T> Method

Definition

Returns the setting value converted to the given type. Avoids loading Newtonsoft.Json if possible.

public:
generic <typename T>
 T DeserializeValue();
public T DeserializeValue<T> ();
public T? DeserializeValue<T> ();
member this.DeserializeValue : unit -> 'T
Public Function DeserializeValue(Of T) () As T

Type Parameters

T

The type to which the value will be converted.

Returns

T

The converted value.

Applies to