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