Click or drag to resize

Variant Methods

The Variant type exposes the following members.

Methods
 NameDescription
Public methodAsDateTimeReturn the contained value as a DateTime relative to 1970-01-01 UTC or null.
Public methodAsDoubleReturn the contained value as double or NaN when empty.
Public methodAsStringReturn the contained value as string or empty string when empty.
Public methodAsTimeSpanReturn the contained value as a TimeSpan or null.
Public methodEqualsIndicates whether this instance and a specified object are equal.
(Inherited from ValueType)
Public methodGetHashCodeReturns the hash code for this instance.
(Inherited from ValueType)
Public methodGetTypeGets the Type of the current instance.
(Inherited from Object)
Public methodToStringReturns the fully qualified type name of this instance.
(Inherited from ValueType)
Public methodValueTypeReturns the currently stored variant type.
Top
See Also