JsonValue Explicit Conversion (JsonValue to Int16)
[This documentation is for preview only, and is subject to change in later releases. Blank topics are included as placeholders.]
Enables explicit casts from an instance of type JsonValue to a Int16 object.
Namespace: System.Json
Assembly: System.Json (in System.Json.dll)
Syntax
'Declaration
Public Shared Narrowing Operator CType ( _
value As JsonValue _
) As Short
public static explicit operator short (
JsonValue value
)
static explicit operator short (
JsonValue^ value
)
F# does not support the declaration of new casting operators.
JScript does not support the declaration of new casting operators.
Parameters
- value
Type: System.Json.JsonValue
The instance of JsonValue used to initialize the Int16 object.
Return Value
Type: System.Int16
The Int16 initialized with the JsonValue specified.
.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.