RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
Variants Namespace

This is namespace Variants.

Name 
Description 
The following table lists classes in this documentation. 
The following table lists interfaces in this documentation. 
The following table lists functions in this documentation. 
The following table lists structs, records, enums in this documentation. 
The following table lists types in this documentation. 
The following table lists variables in this documentation. 
 
Name 
Description 
 
EVariantArrayCreateError is the exception class for failure to create or resize a variant array. 
 
EVariantArrayLockedError is the exception class for errors that occur because a variant array is locked or fixed. 
 
EVariantBadIndexError is the exception class for errors that occur because a variant array index is out of bounds. 
 
EVariantBadVarTypeError is the exception class for variant type errors. 
 
EVariantDispatchError is the exception class for failed dispatch attempts. 
 
EVariantInvalidArgError is the exception class for operations that fail due to invalid variant data. 
 
EVariantInvalidNullOpError is the exception class for invalid Null variant operations. 
 
EVariantInvalidOpError is the exception class for invalid variant operations. 
 
EVariantNotAnArrayError is the exception class inappropriate variant array operations. 
 
EVariantNotImplError is the exception class for unimplemented variant operations. 
 
EVariantOutOfMemoryError is the exception class for variant operations that cannot allocate necessary memory. 
 
EVariantOverflowError is the exception class for overflow in a variant operation. 
 
EVariantRangeCheckError is the exception class for out-of-range errors in a variant operation. 
 
EVariantTypeCastError is the exception class for variant type cast errors. 
 
EVariantUnexpectedError is the exception class for unexpected variant errors. 
 
TCustomVariantType is the base class for Delphi custom variant types. 
 
TInvokeableVariantType is the base class for custom System::Variant types that implement custom Variants with properties and methods. 
 
Name 
Description 
 
_DispInvoke is used internally by the Delphi compiler. 
 
_OleVarFromInt is used internally by the Delphi compiler. 
 
_OleVarFromInt64 is used internally by the Delphi compiler. 
 
_OleVarFromLStr is used internally by the Delphi compiler. 
 
_OleVarFromPStr is used internally by the Delphi compiler. 
 
_OleVarFromUInt64 is used internally by the Delphi compiler. 
 
_OleVarFromUStr is used internally by the Delphi compiler. 
 
_OleVarFromVar is used internally by the Delphi compiler. 
 
_VarAdd is used internally by the Delphi compiler. 
 
_VarAddRef is used internally by the Delphi compiler. 
 
_VarAnd is used internally by the Delphi compiler. 
 
_VarArrayGet is used internally by the Delphi compiler. 
 
_VarArrayPut is used internally by the Delphi compiler. 
 
_VarArrayRedim is used internally by the Delphi compiler. 
 
_VarCast is used internally by the Delphi compiler. 
 
_VarCastOle is used internally by the Delphi compiler. 
 
_VarClear is used internally by the Delphi compiler. 
 
_VarClr is used internally by the Delphi compiler. 
 
_VarCmpEQ is used internally by the Delphi compiler. 
 
_VarCmpGE is used internally by the Delphi compiler. 
 
_VarCmpGT is used internally by the Delphi compiler. 
 
_VarCmpLE is used internally by the Delphi compiler. 
 
_VarCmpLT is used internally by the Delphi compiler. 
 
_VarCmpNE is used internally by the Delphi compiler. 
 
_VarCopy is used internally by the Delphi compiler. 
 
_VarCopyNoInd is used internally by the Delphi compiler. 
 
_VarDiv is used internally by the Delphi compiler. 
 
_VarFromBool is used internally by the Delphi compiler. 
 
_VarFromCurr is used internally by the Delphi compiler. 
 
_VarFromDisp is used internally by the Delphi compiler. 
 
_VarFromDynArray is used internally by the Delphi compiler. 
 
_VarFromInt is used internally by the Delphi compiler. 
 
_VarFromInt64 is used internally by the Delphi compiler. 
 
_VarFromIntf is used internally by the Delphi compiler. 
 
_VarFromLStr is used internally by the Delphi compiler. 
 
_VarFromPStr is used internally by the Delphi compiler. 
 
_VarFromReal is used internally by the Delphi compiler. 
 
_VarFromTDateTime is used internally by the Delphi compiler. 
 
_VarFromUInt64 is used internally by the Delphi compiler. 
 
_VarFromUStr is used internally by the Delphi compiler. 
 
_VarFromWChar is used internally by the Delphi compiler. 
 
_VarFromWStr is used internally by the Delphi compiler. 
 
_VarMod is used internally by the Delphi compiler. 
 
_VarMul is used internally by the Delphi compiler. 
 
_VarNeg is used internally by the Delphi compiler. 
 
_VarNot is used internally by the Delphi compiler. 
 
_VarOr is used internally by the Delphi compiler. 
 
_VarRDiv is used internally by the Delphi compiler. 
 
_VarShl is used internally by the Delphi compiler. 
 
_VarShr is used internally by the Delphi compiler. 
 
_VarSub is used internally by the Delphi compiler. 
 
_VarToBool is used internally by the Delphi compiler. 
 
_VarToCurrency is used internally by the Delphi compiler. 
 
_VarToDisp is used internally by the Delphi compiler. 
 
_VarToDynArray is used internally by the Delphi compiler. 
 
_VarToInt64 is used internally by the Delphi compiler. 
 
_VarToInteger is used internally by the Delphi compiler. 
 
_VarToIntf is used internally by the Delphi compiler. 
 
_VarToLStr is used internally by the Delphi compiler. 
 
_VarToPStr is used internally by the Delphi compiler. 
 
_VarToReal is used internally by the Delphi compiler. 
 
_VarToUInt64 is used internally by the Delphi compiler. 
 
_VarToUStr is used internally by the Delphi compiler. 
 
_VarToWStr is used internally by the Delphi compiler. 
 
_VarXor is used internally by the Delphi compiler. 
 
Creates a dynamic array from a System::Variant
 
Creates a System::Variant array from a dynamic array. 
 
Retrieves the object that implements a custom System::Variant type. 
 
Retrieves the object that implements a custom System::Variant type. 
 
Returns pointer to variant's data. 
 
Handles exceptions during variant type conversions. 
 
Null 
Returns a Null variant. 
 
Returns an "empty" variant. 
 
This is function Variants.VarArrayAsPSafeArray. 
 
Creates a variant array. 
 
Indicates an array creation error. 
 
Returns number of dimensions of a variant array. 
 
Returns a System::Variant that represents a single value from a multi-dimensional System::Variant array. 
 
Returns high bound for a dimension in a variant array. 
 
Locks a variant array and returns a pointer to the data. 
 
Returns the low bound of a dimension in a variant array. 
 
Creates and fills a one-dimensional variant array. 
 
Sets the value of a single cell in a multi-dimensional System::Variant array. 
 
Returns a reference to the specified variant array. 
 
Unlocks a variant array. 
 
Converts a HRESULT into an Error variant. 
 
Converts a variant to specified type. 
 
Raises an EVariantTypeCastError exception. 
 
Raises an EVariantTypeCastError exception. 
 
Raises an exception if a specified variant's value is Unassigned
 
Returns the relationship between Variants. 
 
Copies a System::Variant
 
Returns a System::Variant with a value in a specified range. 
 
Returns a variant containing a specified data and time. 
 
Indicates whether a System::Variant's value is in a specified range. 
 
Indicate variant operation on null. 
 
Indicate invalid variant operation. 
 
Indicates whether the specified variant is an array. 
 
Indicates whether the specified variant is an array. 
 
Indicates whether the specified variant's value is by reference. 
 
Indicates whether the specified variant has an undefined value. 
 
Indicates whether the specified variant is a custom variant. 
 
Indicates whether the specified variant is unassigned. 
 
Indicates whether the specified variant represents an unassigned optional parameter. 
 
Indicates whether the specified variant is an error variant; optionally converts variant back to HRESULT
 
Indicates whether the specified variant is an error variant; optionally converts variant back to HRESULT
 
Indicates whether the specified variant represents a floating-point value. 
 
Indicates whether the specified variant is Null
 
Indicates whether the specified variant represents a numeric value. 
 
Indicates whether the specified variant represents an ordinal value. 
 
Indicates whether the specified variant represents a string value. 
 
Indicates whether the specified variant represents a specified type. 
 
Indicates whether the specified variant represents a specified type. 
 
Raises an EVariantOverflowError exception. 
 
Raises an EVariantRangeCheckError exception. 
 
Raises variant exception based on HRESULT value. 
 
Raises variant exception based on HRESULT value. 
 
Indicates whether two Variants have equivalent values. 
 
Indicates whether the System::Variant's value is an interface that supports a specified interface. 
 
Indicates whether the System::Variant's value is an interface that supports a specified interface. 
 
Converts a specified variant to a TDateTime value. 
 
Converts a variant's value to a string. 
 
Converts a variant's value to a string. 
 
Converts a variant's value to a WideString
 
Converts a variant's value to a WideString
 
Returns the type code of a specified variant. 
 
Returns variant type descriptive string. 
 
Indicates whether a System::Variant type code represents a type that can be used for the elements in a System::Variant array. 
 
Indicates whether a System::Variant type code represents a type that can be used for the elements in a System::Variant array. 
 
Name 
Description 
 
IVarInstanceReference is the interface for extracting the instance that represents the data from a Variant of the custom type. 
 
IVarInvokeable is the interface for custom Variant types that implement dynamic properties and methods. 
 
Name 
Description 
 
TBooleanToStringRule enumerates possible rules for BooleanToStringRule
 
TNullCompareRule enumerates possible rules for comparing variant nulls with other values. 
 
TVarCompareResult describes the results of comparing two Variants. 
 
TVariantRelationship describes the results of comparing two Variants. 
Name 
Description 
TAnyProc represents a pointer to a procedure that accepts a parameter of type TVarData
TCustomVariantTypeClass defines the metaclass for TCustomVariantType
TVarDataArray is an array of TVarData records. 
TVarDispProc defines a pointer to a procedure used as support for IDispatch-based Automation. 
Name 
Description 
Specifies rule fixing up Boolean values converted to strings. 
Provides the support for changing the type of a Variant from varAny to a real Variant
Provides the support for clearing a Variant of type varAny
Contains an OleVariant that represents an unused optional parameter on a dual interface. 
Specifies string value of Null variants. 
Specifies rule for Null variant equality comparison. 
Specifies rule for Null variant magnitude comparison. 
Specifies whether Null conversion is an error. 
Controls the mode in which Int64 values are stored in a OleVariant
Specifies whether space-efficient System::Variant Types are preferred. 
Provides the support for increasing the reference count of a Variant of type varAny
Provides the support for IDispatch-based Automation. 
Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!