Variant

Description

The Variant class implements properties and methods of the Variant data type and variables with the Variant data type.

Static Properties of the Variant Class

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

Static Methods of the Variant Class

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

Properties of Variables of the Variant Type

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

Methods of Variables of the Variant Type

  Method name Brief description
The GetProperty method enables the user to get the value of the specified property of the object stored in the variable.
The GetPropertyEx method enables the user to get the value of the specified property of the object stored in the variable, using additional parameters.
The Invoke method enables the user to execute the method for the object stored in the variable.
The SetProperty method enables the user to set the value for the property of the object stored in the variable.
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