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