Variant Struct
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Applies to
Azure SDK for .NET
Feedback
https://aka.ms/ContentUserFeedback.
Binnenkort beschikbaar: In de loop van 2024 zullen we GitHub-problemen geleidelijk uitfaseren als het feedbackmechanisme voor inhoud en deze vervangen door een nieuw feedbacksysteem. Zie voor meer informatie:Feedback verzenden en weergeven voor