RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomVariantType Methods

The methods of the TCustomVariantType class are listed here.

 
Name 
Description 
 
Increments the reference count for this interface. 
 
Decrements the reference count for this interface. 
 
Invokes a method call when the Variant supports such operations. 
 
Indicates whether the left argument to a binary operation should be coerced to a different type. 
 
Indicates the type to which a Variant value must be cast to make it Automation-compatible. 
 
Returns a reference to a specified interface if the object supports that interface. 
 
Generates a system error that indicates an invalid cast. 
 
Generates a system error indicating an invalid dispatch attempt. 
 
Generates a system error indicating an invalid operation. 
 
Indicates whether the right argument to a binary operation should be coerced to a different type. 
 
Clears a TVarData record by re-initializing it. 
 
Performs a simple block copy of one TVarData record to another. 
 
Performs a cast from one Variant type to another. 
 
This is the overview for the VarDataCastTo method overload. 
 
Performs a cast to a Variant type of varOleStr. 
 
Clears the data from a built-in Variant type. 
 
Copies the data from one built-in Variant type to another. 
 
Copies the data from one built-in Variant type to another. 
 
Creates a TVarData record to represent a Unicode string. 
 
Creates a TVarData record to represent a string. 
 
Initializes a TVarData record. 
 
Indicates whether a TVarData record represents the data from a Variant array. 
 
Indicates whether a TVarData record stores its data indirectly. 
 
Indicates whether a TVarData record represents an unassigned optional parameter. 
 
Indicates whether a TVarData record represents a floating-point value. 
 
Indicates whether a TVarData record represents a numeric value. 
 
Indicates whether a TVarData record represents a ordinal value. 
 
Indicates whether a TVarData record represents a string (normal or Unicode). 
 
Returns a string that represents the value from a TVarData record. 
 
Name 
Description 
 
Implements any binary operations of which the custom Variant type is capable. 
 
Cast 
Converts the data from another Variant type so that it represents this custom type's data format. 
 
This is CastTo, a member of class TCustomVariantType. 
 
This is CastToOle, a member of class TCustomVariantType. 
 
Sets the data for this custom Variant type to a blank or unassigned value. 
 
Implements comparisons that involve the custom Variant type. 
 
Implements any comparison operations of which the custom Variant type is capable. 
 
Copy 
Copies the data from a Variant of this custom type. 
 
Indicates whether the data from a custom Variant represents a blank or unassigned value. 
 
Implements any unary operations of which the custom Variant type is capable. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!