Sdílet prostřednictvím


Variant Struct

Definition

Used to store primitive values without boxing, and other instances.

public readonly struct Variant
type Variant = struct
Public Structure Variant
Inheritance
Variant

Constructors

Variant(ArraySegment<Byte>)

TBD.

Variant(ArraySegment<Char>)

TBD.

Variant(Boolean)

TBD.

Variant(Byte)

Stores byte in this value.

Variant(Char)

TBD.

Variant(DateTime)

TBD.

Variant(DateTimeOffset)

TBD.

Variant(Double)

TBD.

Variant(Int16)

TBD.

Variant(Int32)

TBD.

Variant(Int64)

TBD.

Variant(Nullable<Boolean>)

TBD.

Variant(Nullable<Byte>)

Stores nullable byte in this value.

Variant(Nullable<Char>)

TBD.

Variant(Nullable<DateTime>)

TBD.

Variant(Nullable<DateTimeOffset>)

TBD.

Variant(Nullable<Double>)

TBD.

Variant(Nullable<Int16>)

TBD.

Variant(Nullable<Int32>)

TBD.

Variant(Nullable<Int64>)

TBD.

Variant(Nullable<SByte>)

Stores nullable sbyte in this value.

Variant(Nullable<Single>)

TBD.

Variant(Nullable<UInt16>)

TBD.

Variant(Nullable<UInt32>)

TBD.

Variant(Nullable<UInt64>)

TBD.

Variant(Object)

Creates instance.

Variant(SByte)

Stores sbyte in this value.

Variant(Single)

TBD.

Variant(UInt16)

TBD.

Variant(UInt32)

TBD.

Variant(UInt64)

TBD.

Fields

Null

Null Variant.

Properties

IsNull

Indicates whether the Variant is null or has a value.

Type

Type of the instance stored in this value.

Methods

As<T>()

TBD.

Create<T>(T)

TBD.

ToString()

Returns the fully qualified type name of this instance.

TryGetValue<T>(T)

TBD.

Operators

Explicit(Variant to ArraySegment<Byte>)
Explicit(Variant to ArraySegment<Char>)
Explicit(Variant to Boolean)

TBD.

Explicit(Variant to Byte)

Casts value to byte, if possible.

Explicit(Variant to Char)

TBD.

Explicit(Variant to DateTime)

TBD.

Explicit(Variant to DateTimeOffset)

TBD.

Explicit(Variant to Decimal)

TBD.

Explicit(Variant to Double)

TBD.

Explicit(Variant to Int16)

TBD.

Explicit(Variant to Int32)

TBD.

Explicit(Variant to Int64)

TBD.

Explicit(Variant to Nullable<Boolean>)
Explicit(Variant to Nullable<Byte>)
Explicit(Variant to Nullable<Char>)
Explicit(Variant to Nullable<DateTime>)
Explicit(Variant to Nullable<DateTimeOffset>)
Explicit(Variant to Nullable<Decimal>)
Explicit(Variant to Nullable<Double>)
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<UInt32>)
Explicit(Variant to Nullable<UInt64>)
Explicit(Variant to SByte)

Casts value to sbyte, if possible.

Explicit(Variant to Single)

TBD.

Explicit(Variant to String)

TBD.

Explicit(Variant to UInt16)

TBD.

Explicit(Variant to UInt32)

TBD.

Explicit(Variant to UInt64)

TBD.

Implicit(ArraySegment<Byte> to Variant)

TBD.

Implicit(ArraySegment<Char> to Variant)

TBD.

Implicit(Boolean to Variant)

TBD.

Implicit(Byte to Variant)

Casts byte to value.

Implicit(Char to Variant)

TBD.

Implicit(DateTime to Variant)

TBD.

Implicit(DateTimeOffset to Variant)

TBD.

Implicit(Decimal to Variant)

TBD.

Implicit(Double to Variant)

TBD.

Implicit(Int16 to Variant)

TBD.

Implicit(Int32 to Variant)

TBD.

Implicit(Int64 to Variant)

TBD.

Implicit(Nullable<Boolean> to Variant)

TBD.

Implicit(Nullable<Byte> to Variant)

Casts nullable byte to value.

Implicit(Nullable<Char> to Variant)

TBD.

Implicit(Nullable<DateTime> to Variant)

TBD.

Implicit(Nullable<DateTimeOffset> to Variant)

TBD.

Implicit(Nullable<Decimal> to Variant)

TBD.

Implicit(Nullable<Double> to Variant)

TBD.

Implicit(Nullable<Int16> to Variant)

TBD.

Implicit(Nullable<Int32> to Variant)

TBD.

Implicit(Nullable<Int64> to Variant)

TBD.

Implicit(Nullable<SByte> to Variant)

Casts nullable sbyte to value.

Implicit(Nullable<Single> to Variant)

TBD.

Implicit(Nullable<UInt16> to Variant)

TBD.

Implicit(Nullable<UInt32> to Variant)

TBD.

Implicit(Nullable<UInt64> to Variant)

TBD.

Implicit(SByte to Variant)

Casts sbyte to value.

Implicit(Single to Variant)

TBD.

Implicit(String to Variant)

TBD.

Implicit(UInt16 to Variant)

TBD.

Implicit(UInt32 to Variant)

TBD.

Implicit(UInt64 to Variant)

TBD.

Applies to