JsonValue.CastValue<T> Method
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Specifies the cast value of the JsonValue.
Namespace: System.Json
Assembly: System.Json (in System.Json.dll)
Syntax
'Declaration
Public Shared Function CastValue(Of T) ( _
value As JsonValue _
) As T
public static T CastValue<T>(
JsonValue value
)
public:
generic<typename T>
static T CastValue(
JsonValue^ value
)
static member CastValue :
value:JsonValue -> 'T
JScript does not support generic types or methods.
Type Parameters
- T
The type.
Parameters
- value
Type: System.Json.JsonValue
The value.
Return Value
Type: T
The cast value of the JsonValue.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.