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 Variant types that implement custom Variants with properties and methods. 
 
Name 
Description 
 
This is function Variants._DispInvoke. 
 
This is function Variants._OleVarFromInt. 
 
This is function Variants._OleVarFromInt64. 
 
This is function Variants._OleVarFromLStr. 
 
This is function Variants._OleVarFromPStr. 
 
This is function Variants._OleVarFromVar. 
 
This is function Variants._VarAdd. 
 
This is function Variants._VarAddRef. 
 
This is function Variants._VarAnd. 
 
This is function Variants._VarArrayGet. 
 
This is function Variants._VarArrayPut. 
 
This is function Variants._VarArrayRedim. 
 
This is function Variants._VarCast. 
 
This is function Variants._VarCastOle. 
 
This is function Variants._VarClear. 
 
This is function Variants._VarClr. 
 
This is function Variants._VarCmpEQ. 
 
This is function Variants._VarCmpGE. 
 
This is function Variants._VarCmpGT. 
 
This is function Variants._VarCmpLE. 
 
This is function Variants._VarCmpLT. 
 
This is function Variants._VarCmpNE. 
 
This is function Variants._VarCopy. 
 
This is function Variants._VarCopyNoInd. 
 
This is function Variants._VarDiv. 
 
This is function Variants._VarFromBool. 
 
This is function Variants._VarFromCurr. 
 
This is function Variants._VarFromDisp. 
 
This is function Variants._VarFromDynArray. 
 
This is function Variants._VarFromInt. 
 
This is function Variants._VarFromInt64. 
 
This is function Variants._VarFromIntf. 
 
This is function Variants._VarFromLStr. 
 
This is function Variants._VarFromPStr. 
 
This is function Variants._VarFromReal. 
 
This is function Variants._VarFromTDateTime. 
 
This is function Variants._VarFromWStr. 
 
This is function Variants._VarMod. 
 
This is function Variants._VarMul. 
 
This is function Variants._VarNeg. 
 
This is function Variants._VarNot. 
 
This is function Variants._VarOr. 
 
This is function Variants._VarRDiv. 
 
This is function Variants._VarShl. 
 
This is function Variants._VarShr. 
 
This is function Variants._VarSub. 
 
This is function Variants._VarToBool. 
 
This is function Variants._VarToCurrency. 
 
This is function Variants._VarToDisp. 
 
This is function Variants._VarToDynArray. 
 
This is function Variants._VarToInt64. 
 
This is function Variants._VarToInteger. 
 
This is function Variants._VarToIntf. 
 
This is function Variants._VarToLStr. 
 
This is function Variants._VarToPStr. 
 
This is function Variants._VarToReal. 
 
This is function Variants._VarToWStr. 
 
This is function Variants._VarXor. 
 
Creates a dynamic array from a Variant. 
 
Creates a Variant array from a dynamic array. 
 
Retrieves the object that implements a custom Variant type. 
 
Retrieves the object that implements a custom 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 Variant that represents a single value from a multi-dimensional 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 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 Variant. 
 
Returns a Variant with a value in a specified range. 
 
Returns a variant containing a specified data and time. 
 
Indicates whether a 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 Variant's value is an interface that supports a specified interface. 
 
Indicates whether the 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 Variant type code represents a type that can be used for the elements in a Variant array. 
 
Indicates whether a Variant type code represents a type that can be used for the elements in a Variant array. 
 
Name 
Description 
 
This is class Variants.IVarInstanceReference. 
 
This is class Variants.IVarInvokeable. 
 
Name 
Description 
 
TBooleanToStringRule enumerates possible rules for BooleanToStringRule
 
TNullCompareRule enumerates possible rules for comparing variant nulls with other values. 
 
This is record Variants.TVarCompareResult. 
 
TVariantRelationship describes the results of comparing two Variants. 
Name 
Description 
This is type Variants.TAnyProc. 
This is type Variants.TCustomVariantTypeClass. 
This is type Variants.TVarDataArray. 
This is type Variants.TVarDispProc. 
Name 
Description 
Specifies rule fixing up Boolean values converted to strings. 
This is variable Variants.ChangeAnyProc. 
This is variable Variants.ClearAnyProc. 
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. 
This is variable Variants.OleVariantInt64AsDouble. 
Specifies whether space-efficient Variant Types are preferred. 
This is variable Variants.RefAnyProc. 
Provides the support for IDispatch-based Automation. 
Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!