你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn

Variant.Explicit 运算符

定义

重载

Explicit(Variant to Nullable<Int16>)
Explicit(Variant to Nullable<Int32>)
Explicit(Variant to Nullable<Int64>)
Explicit(Variant to Nullable<SByte>)
Explicit(Variant to Nullable<Single>)
Explicit(Variant to Nullable<UInt16>)
Explicit(Variant to Nullable<Double>)
Explicit(Variant to Nullable<UInt32>)
Explicit(Variant to SByte)

如果可能,将值强制转换为 sbyte。

Explicit(Variant to Single)

待定。

Explicit(Variant to String)

待定。

Explicit(Variant to UInt16)

待定。

Explicit(Variant to UInt32)

待定。

Explicit(Variant to UInt64)

待定。

Explicit(Variant to Nullable<UInt64>)
Explicit(Variant to Nullable<Decimal>)
Explicit(Variant to Nullable<DateTimeOffset>)
Explicit(Variant to Nullable<DateTime>)
Explicit(Variant to ArraySegment<Char>)
Explicit(Variant to Boolean)

待定。

Explicit(Variant to Byte)

如果可能,将值强制转换为字节。

Explicit(Variant to Char)

待定。

Explicit(Variant to DateTime)

待定。

Explicit(Variant to DateTimeOffset)

待定。

Explicit(Variant to Decimal)

待定。

Explicit(Variant to ArraySegment<Byte>)
Explicit(Variant to Int16)

待定。

Explicit(Variant to Int32)

待定。

Explicit(Variant to Int64)

待定。

Explicit(Variant to Nullable<Boolean>)
Explicit(Variant to Nullable<Byte>)
Explicit(Variant to Nullable<Char>)
Explicit(Variant to Double)

待定。

Explicit(Variant to Nullable<Int16>)

Source:
Variant.cs
public static explicit operator short? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<int16>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of Short)

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<Int32>)

Source:
Variant.cs
public static explicit operator int? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<int>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of Integer)

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<Int64>)

Source:
Variant.cs
public static explicit operator long? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<int64>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of Long)

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<SByte>)

Source:
Variant.cs
public static explicit operator sbyte? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<sbyte>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of SByte)

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<Single>)

Source:
Variant.cs
public static explicit operator float? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<single>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of Single)

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<UInt16>)

Source:
Variant.cs
public static explicit operator ushort? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<uint16>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of UShort)

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<Double>)

Source:
Variant.cs
public static explicit operator double? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<double>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of Double)

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<UInt32>)

Source:
Variant.cs
public static explicit operator uint? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<uint32>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of UInteger)

参数

value
Variant

返回

适用于

Explicit(Variant to SByte)

Source:
Variant.cs

如果可能,将值强制转换为 sbyte。

public static explicit operator sbyte (in Azure.Variant value);
static member op_Explicit : Variant -> sbyte
Public Shared Narrowing Operator CType (ByRef value As Variant) As SByte

参数

value
Variant

返回

适用于

Explicit(Variant to Single)

Source:
Variant.cs

待定。

public static explicit operator float (in Azure.Variant value);
static member op_Explicit : Variant -> single
Public Shared Narrowing Operator CType (ByRef value As Variant) As Single

参数

value
Variant

返回

适用于

Explicit(Variant to String)

Source:
Variant.cs

待定。

public static explicit operator string (in Azure.Variant value);
static member op_Explicit : Variant -> string
Public Shared Narrowing Operator CType (ByRef value As Variant) As String

参数

value
Variant

返回

适用于

Explicit(Variant to UInt16)

Source:
Variant.cs

待定。

public static explicit operator ushort (in Azure.Variant value);
static member op_Explicit : Variant -> uint16
Public Shared Narrowing Operator CType (ByRef value As Variant) As UShort

参数

value
Variant

返回

适用于

Explicit(Variant to UInt32)

Source:
Variant.cs

待定。

public static explicit operator uint (in Azure.Variant value);
static member op_Explicit : Variant -> uint32
Public Shared Narrowing Operator CType (ByRef value As Variant) As UInteger

参数

value
Variant

返回

适用于

Explicit(Variant to UInt64)

Source:
Variant.cs

待定。

public static explicit operator ulong (in Azure.Variant value);
static member op_Explicit : Variant -> uint64
Public Shared Narrowing Operator CType (ByRef value As Variant) As ULong

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<UInt64>)

Source:
Variant.cs
public static explicit operator ulong? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<uint64>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of ULong)

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<Decimal>)

Source:
Variant.cs
public static explicit operator decimal? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<decimal>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of Decimal)

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<DateTimeOffset>)

Source:
Variant.cs
public static explicit operator DateTimeOffset? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<DateTimeOffset>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of DateTimeOffset)

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<DateTime>)

Source:
Variant.cs
public static explicit operator DateTime? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<DateTime>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of DateTime)

参数

value
Variant

返回

适用于

Explicit(Variant to ArraySegment<Char>)

Source:
Variant.cs
public static explicit operator ArraySegment<char> (in Azure.Variant value);
static member op_Explicit : Variant -> ArraySegment<char>
Public Shared Narrowing Operator CType (ByRef value As Variant) As ArraySegment(Of Char)

参数

value
Variant

返回

适用于

Explicit(Variant to Boolean)

Source:
Variant.cs

待定。

public static explicit operator bool (in Azure.Variant value);
static member op_Explicit : Variant -> bool
Public Shared Narrowing Operator CType (ByRef value As Variant) As Boolean

参数

value
Variant

返回

适用于

Explicit(Variant to Byte)

Source:
Variant.cs

如果可能,将值强制转换为字节。

public static explicit operator byte (in Azure.Variant value);
static member op_Explicit : Variant -> byte
Public Shared Narrowing Operator CType (ByRef value As Variant) As Byte

参数

value
Variant

返回

适用于

Explicit(Variant to Char)

Source:
Variant.cs

待定。

public static explicit operator char (in Azure.Variant value);
static member op_Explicit : Variant -> char
Public Shared Narrowing Operator CType (ByRef value As Variant) As Char

参数

value
Variant

返回

适用于

Explicit(Variant to DateTime)

Source:
Variant.cs

待定。

public static explicit operator DateTime (in Azure.Variant value);
static member op_Explicit : Variant -> DateTime
Public Shared Narrowing Operator CType (ByRef value As Variant) As DateTime

参数

value
Variant

返回

适用于

Explicit(Variant to DateTimeOffset)

Source:
Variant.cs

待定。

public static explicit operator DateTimeOffset (in Azure.Variant value);
static member op_Explicit : Variant -> DateTimeOffset
Public Shared Narrowing Operator CType (ByRef value As Variant) As DateTimeOffset

参数

value
Variant

返回

适用于

Explicit(Variant to Decimal)

Source:
Variant.cs

待定。

public static explicit operator decimal (in Azure.Variant value);
static member op_Explicit : Variant -> decimal
Public Shared Narrowing Operator CType (ByRef value As Variant) As Decimal

参数

value
Variant

返回

适用于

Explicit(Variant to ArraySegment<Byte>)

Source:
Variant.cs
public static explicit operator ArraySegment<byte> (in Azure.Variant value);
static member op_Explicit : Variant -> ArraySegment<byte>
Public Shared Narrowing Operator CType (ByRef value As Variant) As ArraySegment(Of Byte)

参数

value
Variant

返回

适用于

Explicit(Variant to Int16)

Source:
Variant.cs

待定。

public static explicit operator short (in Azure.Variant value);
static member op_Explicit : Variant -> int16
Public Shared Narrowing Operator CType (ByRef value As Variant) As Short

参数

value
Variant

返回

适用于

Explicit(Variant to Int32)

Source:
Variant.cs

待定。

public static explicit operator int (in Azure.Variant value);
static member op_Explicit : Variant -> int
Public Shared Narrowing Operator CType (ByRef value As Variant) As Integer

参数

value
Variant

返回

适用于

Explicit(Variant to Int64)

Source:
Variant.cs

待定。

public static explicit operator long (in Azure.Variant value);
static member op_Explicit : Variant -> int64
Public Shared Narrowing Operator CType (ByRef value As Variant) As Long

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<Boolean>)

Source:
Variant.cs
public static explicit operator bool? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<bool>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of Boolean)

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<Byte>)

Source:
Variant.cs
public static explicit operator byte? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<byte>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of Byte)

参数

value
Variant

返回

适用于

Explicit(Variant to Nullable<Char>)

Source:
Variant.cs
public static explicit operator char? (in Azure.Variant value);
static member op_Explicit : Variant -> Nullable<char>
Public Shared Narrowing Operator CType (ByRef value As Variant) As Nullable(Of Char)

参数

value
Variant

返回

适用于

Explicit(Variant to Double)

Source:
Variant.cs

待定。

public static explicit operator double (in Azure.Variant value);
static member op_Explicit : Variant -> double
Public Shared Narrowing Operator CType (ByRef value As Variant) As Double

参数

value
Variant

返回

适用于