Variant

Description

The Variant class implements properties and methods of the Variant data type, and also variables that have this data type.

Static Properties of the Variant Class

  Property name Brief description
MissingParam The MissingParam property returns missing value.
Empty The Empty property returns empty value.

Static Methods of the Variant Class

  Method name Brief description
CreateObject The CreateObject method creates an application instance according to the specified programmatic identifier.
GetActiveObject The GetActiveObject method gives access to the running instance of the application.

Properties of Variables of the Variant Type

  Property name Brief description
IsEmpty The IsEmpty property returns whether the variable contains empty value.
IsNull The IsNull property returns whether value is absent in the variable.
VarType The VarType property returns the data type, to which the variable value belongs.

Methods of Variables of the Variant Type

  Method name Brief description
GetProperty The GetProperty method enables the user to get the value of the specified property of the object stored in the variable.
GetPropertyEx The GetPropertyEx method enables the user to get the value of the specified property of the object stored in the variable, using additional parameters.
Invoke The Invoke method enables the user to execute the method for the object stored in the variable.
SetProperty The SetProperty method enables the user to set the value for the property of the object stored in the variable.
SetPropertyEx The SetPropertyEx method enables the user to set the value of the specified property of the object stored in the variable, using additional parameters.

See also:

System Assembly Classes