JsonNode.Explicit 運算子
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Explicit(JsonNode to Nullable<Guid>)
public:
static explicit operator Nullable<Guid>(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator Guid? (System.Text.Json.Nodes.JsonNode? value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<Guid>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of Guid)
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Nullable<Int16>)
public:
static explicit operator Nullable<short>(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator short? (System.Text.Json.Nodes.JsonNode? value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<int16>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of Short)
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Nullable<Int32>)
public:
static explicit operator Nullable<int>(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator int? (System.Text.Json.Nodes.JsonNode? value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<int>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of Integer)
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Nullable<Int64>)
public:
static explicit operator Nullable<long>(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator long? (System.Text.Json.Nodes.JsonNode? value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<int64>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of Long)
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Nullable<SByte>)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator Nullable<System::SByte>(System::Text::Json::Nodes::JsonNode ^ value);
[System.CLSCompliant(false)]
public static explicit operator sbyte? (System.Text.Json.Nodes.JsonNode? value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<sbyte>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of SByte)
參數
傳回
從 實例轉換的值 JsonNode 。
- 屬性
適用於
Explicit(JsonNode to Nullable<Single>)
public:
static explicit operator Nullable<float>(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator float? (System.Text.Json.Nodes.JsonNode? value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<single>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of Single)
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Nullable<UInt16>)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator Nullable<System::UInt16>(System::Text::Json::Nodes::JsonNode ^ value);
[System.CLSCompliant(false)]
public static explicit operator ushort? (System.Text.Json.Nodes.JsonNode? value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<uint16>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of UShort)
參數
傳回
從 實例轉換的值 JsonNode 。
- 屬性
適用於
Explicit(JsonNode to UInt16)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator System::UInt16(System::Text::Json::Nodes::JsonNode ^ value);
[System.CLSCompliant(false)]
public static explicit operator ushort (System.Text.Json.Nodes.JsonNode value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> uint16
Public Shared Narrowing Operator CType (value As JsonNode) As UShort
參數
傳回
從 實例轉換的值 JsonNode 。
- 屬性
適用於
Explicit(JsonNode to Nullable<UInt64>)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator Nullable<System::UInt64>(System::Text::Json::Nodes::JsonNode ^ value);
[System.CLSCompliant(false)]
public static explicit operator ulong? (System.Text.Json.Nodes.JsonNode? value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<uint64>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of ULong)
參數
傳回
從 實例轉換的值 JsonNode 。
- 屬性
適用於
Explicit(JsonNode to SByte)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator System::SByte(System::Text::Json::Nodes::JsonNode ^ value);
[System.CLSCompliant(false)]
public static explicit operator sbyte (System.Text.Json.Nodes.JsonNode value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> sbyte
Public Shared Narrowing Operator CType (value As JsonNode) As SByte
參數
傳回
從 實例轉換的值 JsonNode 。
- 屬性
適用於
Explicit(JsonNode to Single)
public:
static explicit operator float(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator float (System.Text.Json.Nodes.JsonNode value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> single
Public Shared Narrowing Operator CType (value As JsonNode) As Single
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to String)
public:
static explicit operator System::String ^(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator string? (System.Text.Json.Nodes.JsonNode? value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> string
Public Shared Narrowing Operator CType (value As JsonNode) As String
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Nullable<Double>)
public:
static explicit operator Nullable<double>(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator double? (System.Text.Json.Nodes.JsonNode? value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<double>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of Double)
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to UInt32)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator System::UInt32(System::Text::Json::Nodes::JsonNode ^ value);
[System.CLSCompliant(false)]
public static explicit operator uint (System.Text.Json.Nodes.JsonNode value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> uint32
Public Shared Narrowing Operator CType (value As JsonNode) As UInteger
參數
傳回
從 實例轉換的值 JsonNode 。
- 屬性
適用於
Explicit(JsonNode to Nullable<UInt32>)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator Nullable<System::UInt32>(System::Text::Json::Nodes::JsonNode ^ value);
[System.CLSCompliant(false)]
public static explicit operator uint? (System.Text.Json.Nodes.JsonNode? value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<uint32>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of UInteger)
參數
傳回
從 實例轉換的值 JsonNode 。
- 屬性
適用於
Explicit(JsonNode to Nullable<Decimal>)
public:
static explicit operator Nullable<System::Decimal>(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator decimal? (System.Text.Json.Nodes.JsonNode? value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<decimal>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of Decimal)
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to UInt64)
重要
此 API 不符合 CLS 規範。
public:
static explicit operator System::UInt64(System::Text::Json::Nodes::JsonNode ^ value);
[System.CLSCompliant(false)]
public static explicit operator ulong (System.Text.Json.Nodes.JsonNode value);
[<System.CLSCompliant(false)>]
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> uint64
Public Shared Narrowing Operator CType (value As JsonNode) As ULong
參數
傳回
從 實例轉換的值 JsonNode 。
- 屬性
適用於
Explicit(JsonNode to Nullable<DateTime>)
public:
static explicit operator Nullable<DateTime>(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator DateTime? (System.Text.Json.Nodes.JsonNode? value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<DateTime>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of DateTime)
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Nullable<DateTimeOffset>)
定義指定可為 Null JsonNode 的明確轉換至可為 DateTimeOffset Null 的 。
public:
static explicit operator Nullable<DateTimeOffset>(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator DateTimeOffset? (System.Text.Json.Nodes.JsonNode? value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<DateTimeOffset>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of DateTimeOffset)
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Boolean)
public:
static explicit operator bool(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator bool (System.Text.Json.Nodes.JsonNode value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> bool
Public Shared Narrowing Operator CType (value As JsonNode) As Boolean
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Byte)
public:
static explicit operator System::Byte(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator byte (System.Text.Json.Nodes.JsonNode value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> byte
Public Shared Narrowing Operator CType (value As JsonNode) As Byte
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Char)
public:
static explicit operator char(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator char (System.Text.Json.Nodes.JsonNode value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> char
Public Shared Narrowing Operator CType (value As JsonNode) As Char
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to DateTimeOffset)
定義指定 JsonNode 之 的明確轉換。 DateTimeOffset
public:
static explicit operator DateTimeOffset(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator DateTimeOffset (System.Text.Json.Nodes.JsonNode value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> DateTimeOffset
Public Shared Narrowing Operator CType (value As JsonNode) As DateTimeOffset
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Decimal)
public:
static explicit operator System::Decimal(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator decimal (System.Text.Json.Nodes.JsonNode value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> decimal
Public Shared Narrowing Operator CType (value As JsonNode) As Decimal
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Double)
public:
static explicit operator double(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator double (System.Text.Json.Nodes.JsonNode value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> double
Public Shared Narrowing Operator CType (value As JsonNode) As Double
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to DateTime)
public:
static explicit operator DateTime(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator DateTime (System.Text.Json.Nodes.JsonNode value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> DateTime
Public Shared Narrowing Operator CType (value As JsonNode) As DateTime
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Int16)
public:
static explicit operator short(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator short (System.Text.Json.Nodes.JsonNode value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> int16
Public Shared Narrowing Operator CType (value As JsonNode) As Short
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Int32)
public:
static explicit operator int(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator int (System.Text.Json.Nodes.JsonNode value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> int
Public Shared Narrowing Operator CType (value As JsonNode) As Integer
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Int64)
public:
static explicit operator long(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator long (System.Text.Json.Nodes.JsonNode value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> int64
Public Shared Narrowing Operator CType (value As JsonNode) As Long
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Nullable<Boolean>)
public:
static explicit operator Nullable<bool>(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator bool? (System.Text.Json.Nodes.JsonNode? value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<bool>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of Boolean)
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Nullable<Byte>)
public:
static explicit operator Nullable<System::Byte>(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator byte? (System.Text.Json.Nodes.JsonNode? value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<byte>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of Byte)
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Nullable<Char>)
public:
static explicit operator Nullable<char>(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator char? (System.Text.Json.Nodes.JsonNode? value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Nullable<char>
Public Shared Narrowing Operator CType (value As JsonNode) As Nullable(Of Char)
參數
傳回
從 實例轉換的值 JsonNode 。
適用於
Explicit(JsonNode to Guid)
public:
static explicit operator Guid(System::Text::Json::Nodes::JsonNode ^ value);
public static explicit operator Guid (System.Text.Json.Nodes.JsonNode value);
static member op_Explicit : System.Text.Json.Nodes.JsonNode -> Guid
Public Shared Narrowing Operator CType (value As JsonNode) As Guid
參數
傳回
從 實例轉換的值 JsonNode 。