System.Variants.TCustomVariantType Methods

From Appmethod Libraries
Jump to: navigation, search


InheritedProtected
_AddRefprotectedResponds when the caller acquires a reference to this object's interface.
_ReleaseprotectedResponds when the caller releases a reference to this object's interface.
AfterConstructionpublicResponds after the last constructor has executed.
BeforeDestructionpublicResponds before the first destructor executes.
BinaryOppublicImplements any binary operations of which the custom Variant type is capable.
CastpublicConverts the data from another Variant type so that it represents this custom type's data format.
CastTopublicConverts data in the format of this TCustomVariantType to the format of another Variant type.
CastToOlepublicConverts data in the format of this custom Variant type to a format that can be used by COM Variants.
CheckDisposedprotected
ClassInfopublicReturns a pointer to the run-time type information (RTTI) table for the object type.
ClassNamepublicReturns a string indicating the type of the object instance (as opposed to the type of the variable passed as an argument).
ClassNameIspublicDetermines whether an object is of a specific type.
ClassParentpublicReturns the type of the immediate ancestor of a class.
ClassTypepublicReturns the class reference for the object's class.
CleanupInstancepublicPerforms finalization on long strings, variants, and interface variables within a class.
ClearpublicSets the data for this custom Variant type to a blank or unassigned value.
ComparepublicImplements comparisons that involve the custom Variant type.
CompareOppublicImplements any comparison operations of which the custom Variant type is capable.
CopypublicCopies the data from a Variant of this custom type.
CreatepublicCreates an instance of TCustomVariantType.
DefaultHandlerpublicProvides the interface for a method that processes message records.
DestroypublicFrees an instance of TCustomVariantType.
DispatchpublicCalls message-handling methods for the object, based on the contents of the Message parameter.
DispInvokeprotectedInvokes a method call when the Variant supports such operations.
DisposeOfpublicDisposeOf forces the execution of the destructor code in an object.
EqualspublicChecks whether the current instance and the Obj parameter are equal.
FieldAddresspublicReturns the address of a published object field.
FreepublicDestroys an object and frees its associated memory, if necessary.
FreeInstancepublicDeallocates memory allocated by a previous call to the NewInstance method.
GetDisposedprotectedGetter for the Disposed property.
GetHashCodepublicReturns an integer containing the hash code.
GetInterfacepublicRetrieves a specified interface.
GetInterfaceEntrypublicReturns the entry for a specific interface implemented in a class.
GetInterfaceTablepublicReturns a pointer to a structure containing all of the interfaces implemented by a given class.
InheritsFrompublicDetermines the relationship of two object types.
InitInstancepublicInitializes a newly allocated object instance to all zeros and initializes the instance's virtual method table pointer.
InstanceSizepublicReturns the size in bytes of each instance of the object type.
IsClearpublicIndicates whether the data from a custom Variant represents a blank or unassigned value.
LeftPromotionprotectedIndicates whether the left argument to a binary operation should be coerced to a different type.
MethodAddresspublicReturns the address of a class method by name.
MethodNamepublicReturns the name of a class method by address.
NewInstancepublicAllocates memory for an instance of an object type and returns a pointer to that new instance.
OlePromotionprotectedIndicates the type to which a Variant value must be cast to make it Automation-compatible.
operator ()public
QualifiedClassNamepublicReturns the qualified name of the class.
QueryInterfaceprotectedReturns a reference to a specified interface if the object supports that interface.
RaiseCastErrorprotectedGenerates a system error that indicates an invalid cast.
RaiseDispErrorprotectedGenerates a system error indicating an invalid dispatch attempt.
RaiseInvalidOpprotectedGenerates a system error indicating an invalid operation.
RightPromotionprotectedIndicates whether the right argument to a binary operation should be coerced to a different type.
SafeCallExceptionpublicHandles exceptions in methods declared using the safecall calling convention.
SimplisticClearprotectedClears a TVarData record by re-initializing it.
SimplisticCopyprotectedPerforms a simple block copy of one TVarData record to another.
ToStringpublicReturns a string containing the class name.
UnaryOppublicImplements any unary operations of which the custom Variant type is capable.
UnitNamepublicReturns the name of the unit where the class is defined.
UnitScopepublicReturns the class's unit scope.
VarDataCastprotectedPerforms a cast from one Variant type to another.
VarDataCastToprotectedPerforms a cast from one Variant type to another.
VarDataCastToOleStrprotectedPerforms a cast to a Variant type of varOleStr.
VarDataClearprotectedClears the data from a built-in Variant type.
VarDataCopyprotectedCopies the data from one built-in Variant type to another.
VarDataCopyNoIndprotectedCopies the data from one built-in Variant type to another.
VarDataFromLStrprotected
VarDataFromOleStrprotectedCreates a TVarData record to represent a WideString.
VarDataFromStrprotectedCreates a TVarData record to represent a string.
VarDataInitprotectedInitializes a TVarData record.
VarDataIsArrayprotectedIndicates whether a TVarData record represents the data from a Variant array.
VarDataIsByRefprotectedIndicates whether a TVarData record stores its data indirectly.
VarDataIsEmptyParamprotectedIndicates whether a TVarData record represents an unassigned optional parameter.
VarDataIsFloatprotectedIndicates whether a TVarData record represents a floating-point value.
VarDataIsNumericprotectedIndicates whether a TVarData record represents a numeric value.
VarDataIsOrdinalprotectedIndicates whether a TVarData record represents a ordinal value.
VarDataIsStrprotectedIndicates whether a TVarData record represents a string (normal or Unicode).
VarDataToStrprotectedReturns a string that represents the value from a TVarData record.