Edit

Share via


JsonValue.Implicit Operator

Definition

Overloads

Implicit(JsonValue to Int64)
Implicit(JsonValue to SByte)
Implicit(JsonValue to Single)
Implicit(JsonValue to String)
Implicit(JsonValue to TimeSpan)
Implicit(JsonValue to UInt16)
Implicit(JsonValue to UInt32)
Implicit(JsonValue to UInt64)
Implicit(String to JsonValue)
Implicit(SByte to JsonValue)
Implicit(Single to JsonValue)
Implicit(JsonValue to Int32)
Implicit(TimeSpan to JsonValue)
Implicit(UInt16 to JsonValue)
Implicit(UInt32 to JsonValue)
Implicit(UInt64 to JsonValue)
Implicit(Uri to JsonValue)
Implicit(JsonValue to Uri)
Implicit(JsonValue to Int16)
Implicit(JsonValue to Double)
Implicit(Double to JsonValue)
Implicit(Boolean to JsonValue)
Implicit(Byte to JsonValue)
Implicit(Char to JsonValue)
Implicit(DateTime to JsonValue)
Implicit(DateTimeOffset to JsonValue)
Implicit(Decimal to JsonValue)
Implicit(JsonValue to Guid)
Implicit(Int16 to JsonValue)
Implicit(Guid to JsonValue)
Implicit(Int64 to JsonValue)
Implicit(JsonValue to Boolean)
Implicit(JsonValue to Byte)
Implicit(JsonValue to Char)
Implicit(JsonValue to DateTime)
Implicit(JsonValue to DateTimeOffset)
Implicit(JsonValue to Decimal)
Implicit(Int32 to JsonValue)

Implicit(JsonValue to Int64)

public:
 static operator long(System::Json::JsonValue ^ value);
public static implicit operator long (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> int64
Public Shared Widening Operator CType (value As JsonValue) As Long

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to SByte)

Important

This API is not CLS-compliant.

public:
 static operator System::SByte(System::Json::JsonValue ^ value);
[System.CLSCompliant(false)]
public static implicit operator sbyte (System.Json.JsonValue value);
[<System.CLSCompliant(false)>]
static member op_Implicit : System.Json.JsonValue -> sbyte
Public Shared Widening Operator CType (value As JsonValue) As SByte

Parameters

value
JsonValue

Returns

Attributes

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to Single)

public:
 static operator float(System::Json::JsonValue ^ value);
public static implicit operator float (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> single
Public Shared Widening Operator CType (value As JsonValue) As Single

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to String)

public:
 static operator System::String ^(System::Json::JsonValue ^ value);
public static implicit operator string (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> string
Public Shared Widening Operator CType (value As JsonValue) As String

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to TimeSpan)

public:
 static operator TimeSpan(System::Json::JsonValue ^ value);
public static implicit operator TimeSpan (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> TimeSpan
Public Shared Widening Operator CType (value As JsonValue) As TimeSpan

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to UInt16)

Important

This API is not CLS-compliant.

public:
 static operator System::UInt16(System::Json::JsonValue ^ value);
[System.CLSCompliant(false)]
public static implicit operator ushort (System.Json.JsonValue value);
[<System.CLSCompliant(false)>]
static member op_Implicit : System.Json.JsonValue -> uint16
Public Shared Widening Operator CType (value As JsonValue) As UShort

Parameters

value
JsonValue

Returns

Attributes

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to UInt32)

Important

This API is not CLS-compliant.

public:
 static operator System::UInt32(System::Json::JsonValue ^ value);
[System.CLSCompliant(false)]
public static implicit operator uint (System.Json.JsonValue value);
[<System.CLSCompliant(false)>]
static member op_Implicit : System.Json.JsonValue -> uint32
Public Shared Widening Operator CType (value As JsonValue) As UInteger

Parameters

value
JsonValue

Returns

Attributes

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to UInt64)

Important

This API is not CLS-compliant.

public:
 static operator System::UInt64(System::Json::JsonValue ^ value);
[System.CLSCompliant(false)]
public static implicit operator ulong (System.Json.JsonValue value);
[<System.CLSCompliant(false)>]
static member op_Implicit : System.Json.JsonValue -> uint64
Public Shared Widening Operator CType (value As JsonValue) As ULong

Parameters

value
JsonValue

Returns

Attributes

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(String to JsonValue)

public:
 static operator System::Json::JsonValue ^(System::String ^ value);
public static implicit operator System.Json.JsonValue (string value);
static member op_Implicit : string -> System.Json.JsonValue
Public Shared Widening Operator CType (value As String) As JsonValue

Parameters

value
String

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(SByte to JsonValue)

Important

This API is not CLS-compliant.

public:
 static operator System::Json::JsonValue ^(System::SByte value);
[System.CLSCompliant(false)]
public static implicit operator System.Json.JsonValue (sbyte value);
[<System.CLSCompliant(false)>]
static member op_Implicit : sbyte -> System.Json.JsonValue
Public Shared Widening Operator CType (value As SByte) As JsonValue

Parameters

value
SByte

Returns

Attributes

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(Single to JsonValue)

public:
 static operator System::Json::JsonValue ^(float value);
public static implicit operator System.Json.JsonValue (float value);
static member op_Implicit : single -> System.Json.JsonValue
Public Shared Widening Operator CType (value As Single) As JsonValue

Parameters

value
Single

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to Int32)

public:
 static operator int(System::Json::JsonValue ^ value);
public static implicit operator int (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> int
Public Shared Widening Operator CType (value As JsonValue) As Integer

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(TimeSpan to JsonValue)

public:
 static operator System::Json::JsonValue ^(TimeSpan value);
public static implicit operator System.Json.JsonValue (TimeSpan value);
static member op_Implicit : TimeSpan -> System.Json.JsonValue
Public Shared Widening Operator CType (value As TimeSpan) As JsonValue

Parameters

value
TimeSpan

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(UInt16 to JsonValue)

Important

This API is not CLS-compliant.

public:
 static operator System::Json::JsonValue ^(System::UInt16 value);
[System.CLSCompliant(false)]
public static implicit operator System.Json.JsonValue (ushort value);
[<System.CLSCompliant(false)>]
static member op_Implicit : uint16 -> System.Json.JsonValue
Public Shared Widening Operator CType (value As UShort) As JsonValue

Parameters

value
UInt16

Returns

Attributes

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(UInt32 to JsonValue)

Important

This API is not CLS-compliant.

public:
 static operator System::Json::JsonValue ^(System::UInt32 value);
[System.CLSCompliant(false)]
public static implicit operator System.Json.JsonValue (uint value);
[<System.CLSCompliant(false)>]
static member op_Implicit : uint32 -> System.Json.JsonValue
Public Shared Widening Operator CType (value As UInteger) As JsonValue

Parameters

value
UInt32

Returns

Attributes

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(UInt64 to JsonValue)

Important

This API is not CLS-compliant.

public:
 static operator System::Json::JsonValue ^(System::UInt64 value);
[System.CLSCompliant(false)]
public static implicit operator System.Json.JsonValue (ulong value);
[<System.CLSCompliant(false)>]
static member op_Implicit : uint64 -> System.Json.JsonValue
Public Shared Widening Operator CType (value As ULong) As JsonValue

Parameters

value
UInt64

Returns

Attributes

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(Uri to JsonValue)

public:
 static operator System::Json::JsonValue ^(Uri ^ value);
public static implicit operator System.Json.JsonValue (Uri value);
static member op_Implicit : Uri -> System.Json.JsonValue
Public Shared Widening Operator CType (value As Uri) As JsonValue

Parameters

value
Uri

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to Uri)

public:
 static operator Uri ^(System::Json::JsonValue ^ value);
public static implicit operator Uri (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> Uri
Public Shared Widening Operator CType (value As JsonValue) As Uri

Parameters

value
JsonValue

Returns

Uri

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to Int16)

public:
 static operator short(System::Json::JsonValue ^ value);
public static implicit operator short (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> int16
Public Shared Widening Operator CType (value As JsonValue) As Short

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to Double)

public:
 static operator double(System::Json::JsonValue ^ value);
public static implicit operator double (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> double
Public Shared Widening Operator CType (value As JsonValue) As Double

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(Double to JsonValue)

public:
 static operator System::Json::JsonValue ^(double value);
public static implicit operator System.Json.JsonValue (double value);
static member op_Implicit : double -> System.Json.JsonValue
Public Shared Widening Operator CType (value As Double) As JsonValue

Parameters

value
Double

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(Boolean to JsonValue)

public:
 static operator System::Json::JsonValue ^(bool value);
public static implicit operator System.Json.JsonValue (bool value);
static member op_Implicit : bool -> System.Json.JsonValue
Public Shared Widening Operator CType (value As Boolean) As JsonValue

Parameters

value
Boolean

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(Byte to JsonValue)

public:
 static operator System::Json::JsonValue ^(System::Byte value);
public static implicit operator System.Json.JsonValue (byte value);
static member op_Implicit : byte -> System.Json.JsonValue
Public Shared Widening Operator CType (value As Byte) As JsonValue

Parameters

value
Byte

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(Char to JsonValue)

public:
 static operator System::Json::JsonValue ^(char value);
public static implicit operator System.Json.JsonValue (char value);
static member op_Implicit : char -> System.Json.JsonValue
Public Shared Widening Operator CType (value As Char) As JsonValue

Parameters

value
Char

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(DateTime to JsonValue)

public:
 static operator System::Json::JsonValue ^(DateTime value);
public static implicit operator System.Json.JsonValue (DateTime value);
static member op_Implicit : DateTime -> System.Json.JsonValue
Public Shared Widening Operator CType (value As DateTime) As JsonValue

Parameters

value
DateTime

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(DateTimeOffset to JsonValue)

public:
 static operator System::Json::JsonValue ^(DateTimeOffset value);
public static implicit operator System.Json.JsonValue (DateTimeOffset value);
static member op_Implicit : DateTimeOffset -> System.Json.JsonValue
Public Shared Widening Operator CType (value As DateTimeOffset) As JsonValue

Parameters

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(Decimal to JsonValue)

public:
 static operator System::Json::JsonValue ^(System::Decimal value);
public static implicit operator System.Json.JsonValue (decimal value);
static member op_Implicit : decimal -> System.Json.JsonValue
Public Shared Widening Operator CType (value As Decimal) As JsonValue

Parameters

value
Decimal

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to Guid)

public:
 static operator Guid(System::Json::JsonValue ^ value);
public static implicit operator Guid (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> Guid
Public Shared Widening Operator CType (value As JsonValue) As Guid

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(Int16 to JsonValue)

public:
 static operator System::Json::JsonValue ^(short value);
public static implicit operator System.Json.JsonValue (short value);
static member op_Implicit : int16 -> System.Json.JsonValue
Public Shared Widening Operator CType (value As Short) As JsonValue

Parameters

value
Int16

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(Guid to JsonValue)

public:
 static operator System::Json::JsonValue ^(Guid value);
public static implicit operator System.Json.JsonValue (Guid value);
static member op_Implicit : Guid -> System.Json.JsonValue
Public Shared Widening Operator CType (value As Guid) As JsonValue

Parameters

value
Guid

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(Int64 to JsonValue)

public:
 static operator System::Json::JsonValue ^(long value);
public static implicit operator System.Json.JsonValue (long value);
static member op_Implicit : int64 -> System.Json.JsonValue
Public Shared Widening Operator CType (value As Long) As JsonValue

Parameters

value
Int64

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to Boolean)

public:
 static operator bool(System::Json::JsonValue ^ value);
public static implicit operator bool (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> bool
Public Shared Widening Operator CType (value As JsonValue) As Boolean

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to Byte)

public:
 static operator System::Byte(System::Json::JsonValue ^ value);
public static implicit operator byte (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> byte
Public Shared Widening Operator CType (value As JsonValue) As Byte

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to Char)

public:
 static operator char(System::Json::JsonValue ^ value);
public static implicit operator char (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> char
Public Shared Widening Operator CType (value As JsonValue) As Char

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to DateTime)

public:
 static operator DateTime(System::Json::JsonValue ^ value);
public static implicit operator DateTime (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> DateTime
Public Shared Widening Operator CType (value As JsonValue) As DateTime

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to DateTimeOffset)

public:
 static operator DateTimeOffset(System::Json::JsonValue ^ value);
public static implicit operator DateTimeOffset (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> DateTimeOffset
Public Shared Widening Operator CType (value As JsonValue) As DateTimeOffset

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(JsonValue to Decimal)

public:
 static operator System::Decimal(System::Json::JsonValue ^ value);
public static implicit operator decimal (System.Json.JsonValue value);
static member op_Implicit : System.Json.JsonValue -> decimal
Public Shared Widening Operator CType (value As JsonValue) As Decimal

Parameters

value
JsonValue

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to

Implicit(Int32 to JsonValue)

public:
 static operator System::Json::JsonValue ^(int value);
public static implicit operator System.Json.JsonValue (int value);
static member op_Implicit : int -> System.Json.JsonValue
Public Shared Widening Operator CType (value As Integer) As JsonValue

Parameters

value
Int32

Returns

Remarks

Note

The System.Json namespace was designed for Silverlight, which is no longer supported. For processing JSON, we recommend using APIs in the System.Text.Json namespace instead.

Applies to