JsonNode.Explicit 运算符

定义

重载

Explicit(JsonNode to Nullable<Guid>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 Guid

Explicit(JsonNode to Nullable<Int16>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 Int16

Explicit(JsonNode to Nullable<Int32>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 Int32

Explicit(JsonNode to Nullable<Int64>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 Int64

Explicit(JsonNode to Nullable<SByte>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 SByte

Explicit(JsonNode to Nullable<Single>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 Single

Explicit(JsonNode to Nullable<UInt16>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 UInt16

Explicit(JsonNode to UInt16)

定义给定 JsonNode 到 的 UInt16显式转换。

Explicit(JsonNode to Nullable<UInt64>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 UInt64

Explicit(JsonNode to SByte)

定义给定 JsonNode 到 的 SByte显式转换。

Explicit(JsonNode to Single)

定义给定 JsonNode 到 的 Single显式转换。

Explicit(JsonNode to String)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 String

Explicit(JsonNode to Nullable<Double>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 Double

Explicit(JsonNode to UInt32)

定义给定 JsonNode 到 的 UInt32显式转换。

Explicit(JsonNode to Nullable<UInt32>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 UInt32

Explicit(JsonNode to Nullable<Decimal>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 Decimal

Explicit(JsonNode to UInt64)

定义给定 JsonNode 到 的 UInt64显式转换。

Explicit(JsonNode to Nullable<DateTime>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 DateTime

Explicit(JsonNode to Nullable<DateTimeOffset>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 DateTimeOffset

Explicit(JsonNode to Boolean)

定义给定 JsonNode 到 的 Boolean显式转换。

Explicit(JsonNode to Byte)

定义给定 JsonNode 到 的 Byte显式转换。

Explicit(JsonNode to Char)

定义给定 JsonNode 到 的 Char显式转换。

Explicit(JsonNode to DateTimeOffset)

定义给定 JsonNode 到 的 DateTimeOffset显式转换。

Explicit(JsonNode to Decimal)

定义给定 JsonNode 到 的 Decimal显式转换。

Explicit(JsonNode to Double)

定义给定 JsonNode 到 的 Double显式转换。

Explicit(JsonNode to DateTime)

定义给定 JsonNode 到 的 DateTime显式转换。

Explicit(JsonNode to Int16)

定义给定 JsonNode 到 的 Int16显式转换。

Explicit(JsonNode to Int32)

定义给定 JsonNode 到 的 Int32显式转换。

Explicit(JsonNode to Int64)

定义给定 JsonNode 到 的 Int64显式转换。

Explicit(JsonNode to Nullable<Boolean>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 Boolean

Explicit(JsonNode to Nullable<Byte>)

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 Byte

Explicit(JsonNode to Nullable<Char>)

定义给定 JsonNode 到 的 Char显式转换。

Explicit(JsonNode to Guid)

定义给定 JsonNode 到 的 Guid显式转换。

Explicit(JsonNode to Nullable<Guid>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Nullable<Int16>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Nullable<Int32>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Nullable<Int64>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Nullable<SByte>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

重要

此 API 不符合 CLS。

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 SByte

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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

属性

适用于

Explicit(JsonNode to Nullable<Single>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Nullable<UInt16>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

重要

此 API 不符合 CLS。

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 UInt16

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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

属性

适用于

Explicit(JsonNode to UInt16)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

重要

此 API 不符合 CLS。

定义给定 JsonNode 到 的 UInt16显式转换。

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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

属性

适用于

Explicit(JsonNode to Nullable<UInt64>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

重要

此 API 不符合 CLS。

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 UInt64

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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

属性

适用于

Explicit(JsonNode to SByte)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

重要

此 API 不符合 CLS。

定义给定 JsonNode 到 的 SByte显式转换。

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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

属性

适用于

Explicit(JsonNode to Single)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义给定 JsonNode 到 的 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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to String)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Nullable<Double>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to UInt32)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

重要

此 API 不符合 CLS。

定义给定 JsonNode 到 的 UInt32显式转换。

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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

属性

适用于

Explicit(JsonNode to Nullable<UInt32>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

重要

此 API 不符合 CLS。

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 UInt32

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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

属性

适用于

Explicit(JsonNode to Nullable<Decimal>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to UInt64)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

重要

此 API 不符合 CLS。

定义给定 JsonNode 到 的 UInt64显式转换。

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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

属性

适用于

Explicit(JsonNode to Nullable<DateTime>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Nullable<DateTimeOffset>)

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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Boolean)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义给定 JsonNode 到 的 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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Byte)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义给定 JsonNode 到 的 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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Char)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义给定 JsonNode 到 的 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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to DateTimeOffset)

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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Decimal)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义给定 JsonNode 到 的 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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Double)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义给定 JsonNode 到 的 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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to DateTime)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义给定 JsonNode 到 的 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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Int16)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义给定 JsonNode 到 的 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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Int32)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义给定 JsonNode 到 的 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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Int64)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义给定 JsonNode 到 的 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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Nullable<Boolean>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Nullable<Byte>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义将指定的可以为 null 的 JsonNode 显式转换为可以为 null 的 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)

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Nullable<Char>)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义给定 JsonNode 到 的 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)

参数

value
JsonNode

Char 显式转换的 。

返回

JsonNode 实例转换的值。

适用于

Explicit(JsonNode to Guid)

Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs
Source:
JsonNode.Operators.cs

定义给定 JsonNode 到 的 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

参数

value
JsonNode

JsonNode 显式转换的 。

返回

JsonNode 实例转换的值。

适用于