This documentation is archived and is not being maintained.

Variant Members

Represents an object that can be interpreted as more than one type.

The following tables list the members exposed by the Variant type.

  Name Description
Public property Value Determines the value of this Variant object. 
Public property Vt Determines the type of the Variant object. 

(see also Protected Methods )
  Name Description
Public method Equals  Overloaded. (Inherited from ValueType.)
Public method GetHashCode  (Inherited from ValueType.)
Public method GetType  (Inherited from Object.)
Public method Static ReferenceEquals  (Inherited from Object.)
Public method ToChar Interprets the Variant object's value as a Unicode character if the variant type is VT_UI2.  
Public method ToString  (Inherited from ValueType.)
Public method Static ToVariant Converts the given variant object to a Variant class object.  

  Name Description
Protected method Finalize  (Inherited from Object.)
Protected method MemberwiseClone  (Inherited from Object.)