JsonNode.Explicit 操作员
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
重载
Explicit(JsonNode to Nullable<Guid>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
重要
此 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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
重要
此 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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
重要
此 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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
重要
此 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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
重要
此 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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
重要
此 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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
重要
此 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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
重要
此 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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 DateTimeOffset。
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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
定义给定 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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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>)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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)
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
- Source:
- JsonNode.Operators.cs
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 实例转换的值。