RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TCustomVariantType Members

The following tables list the members exposed by TCustomVariantType.

 
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 
 
Responds after the last constructor has executed. 
 
Responds before the first destructor executes. 
 
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. 
 
Returns a pointer to the runtime type information (RTTI) table for the object type. 
 
Returns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument). 
 
Determines whether an object is of a specific type. 
 
Returns the type of the immediate ancestor of a class. 
 
Returns the class reference for the object's class. 
 
Performs finalization on long strings, variants, and interface variables within a class. 
 
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. 
 
This is the overview for the Create constructor overload. 
 
Provides the interface for a method that processes message records. 
 
Frees an instance of TCustomVariantType
 
Calls message-handling methods for the object, based on the contents of the Message parameter. 
 
Returns the address of a published object field. 
 
Free 
Destroys an object and frees its associated memory, if necessary. 
 
Deallocates memory allocated by a previous call to the System::TObject::NewInstance method. 
 
Retrieves a specified interface. 
 
Returns the entry for a specific interface implemented in a class. 
 
Returns a pointer to a structure containing all of the interfaces implemented by a given class. 
 
Determines the relationship of two object types. 
 
Initializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer. 
 
Returns the size in bytes of each instance of the object type. 
 
Indicates whether the data from a custom Variant represents a blank or unassigned value. 
 
This is MethodAddress, a member of class TObject. 
 
This is MethodName, a member of class TObject. 
 
Allocates memory for an instance of an object type and returns a pointer to that new instance. 
 
Handles exceptions in methods declared using the safecall calling convention. 
 
Implements any unary operations of which the custom Variant type is capable. 
 
Name 
Description 
 
Indicates the Variant type code for the custom Variant type. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!