RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variant Methods

The methods of the Variant class are listed here.

 
Name 
Description 
 
Returns the number of dimensions of the given variant. 
 
Returns the high bound of the given dimension in the given variant array. 
 
Locks the given variant array and returns a pointer to the data stored in the array. 
 
Returns the low bound of the given dimension in the given variant array. 
 
Resizes the given variant array by changing the high bound of the rightmost dimension to the given value. 
 
Unlocks a variant array that was previously locked by ArrayLock
 
This is Assign, a member of class Variant. 
 
Casts a System::Variant::Variant object to the type specified by the argument VarType. 
 
Changes the data type of a System::Variant::Variant object once it has been instantiated. 
 
System::Variant::Clears the value of the System::Variant::Variant
 
Creates an OLE Automation object with the programmatic identifier specified by ProgID and returns it as a System::Variant::Variant
 
This is Empty, a member of class Variant. 
 
Exec 
System::Variant::Executes an OLE procedure, function, or a property Get or Set method. 
 
Retrieves a reference to an IDispatch interface of a currently running, registered OLE Automation object, and returns it as a System::Variant::Variant
 
Returns the Variant that is assigned as the value of this Variant when Type is varVariant
 
This is the overview for the GetElement method overload. 
 
Converts the System::Variant::Variant to a varError type and returns the integer value. 
 
Queries the VType of the base class TVarData for the varArray bit. 
 
Queries the VType of the base class TVarData
 
Queries the VType of the base class TVarData for the varNull bit. 
 
This is NoParam, a member of class Variant. 
 
This is the overview for the OleFunction method overload. 
 
This is the overview for the OleProcedure method overload. 
 
This is the overview for the OlePropertyGet method overload. 
 
This is the overview for the OlePropertySet method overload. 
 
This is the overview for the PutElement method overload. 
 
This is Sanitized, a member of class Variant. 
 
Converts the System::Variant::Variant to a varError type and assigns the integer err as the value of the varError
 
Type 
This is Type, a member of class Variant. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!