JsonValue Explicit Conversion (JsonValue to Byte)
[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 Byte object.
Namespace: System.Json
Assembly: System.Json (in System.Json.dll)
Syntax
'Declaration
Public Shared Narrowing Operator CType ( _
value As JsonValue _
) As Byte
public static explicit operator byte (
JsonValue value
)
static explicit operator unsigned char (
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 Byte object.
Return Value
Type: System.Byte
The Byte 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.