System.OleVariant Methods

From Appmethod Libraries
Jump to: navigation, search


InheritedProtected
ArrayDimCountpublicReturns the number of dimensions of the given variant.
ArrayHighBoundpublicReturns the high bound of the given dimension in the given variant array.
ArrayLockpublicLocks the given variant array and returns a pointer to the data stored in the array.
ArrayLowBoundpublicReturns the low bound of the given dimension in the given variant array.
ArrayRedimpublicResizes the given variant array by changing the high bound of the rightmost dimension to the given value.
ArrayUnlockpublicUnlocks a variant array that was previously locked by ArrayLock.
Aspublic
AsRefpublic
Assignpublic
AsTypepublicCasts a Variant object to the type specified by the VarType argument.
ChangeTypepublicChanges the data type of a Variant object once it has been instantiated.
ClearpublicClears the value of the Variant.
Createpublic
CreateObjectpublicCreates an OLE Automation object with the programmatic identifier specified by ProgID and returns it as a Variant.
DestroypublicFrees an instance of System.OleVariant.
Emptypublic
ExecpublicExecutes an OLE procedure, function, or a property Get or Set method.
GetActiveObjectpublicRetrieves a reference to an IDispatch interface of a currently running, registered OLE Automation object and returns it as a Variant.
GetBaseVariantpublicReturns the Variant that is assigned as the value of this Variant, when the type, returned by Type is varVariant.
GetElementpublicReturns the value of a specified element in a Variant array.
GetErrorpublicConverts the Variant to a varError type and returns the integer value.
IsArraypublicQueries the VType of the base class TVarData for the varArray bit.
IsEmptypublicQueries the VType of the base class TVarData.
IsNullpublicQueries the VType of the base class TVarData for the varNull bit.
NoParampublic
OleFunctionpublicProvides an alternate syntax for OLE Automation calls to Exec().
OleProcedurepublicProvides alternative syntax to OLE Automation calls to Exec().
OlePropertyGetpublicReturns the value of a property on a COM interface.
OlePropertySetpublicSets the value of a property on a COM interface.
operator !publicReturns a new Variant that is the logical negation of this Variant.
operator !=public
operator %publicReturns the remainder from dividing the Variant's value by a specified value.
operator %=publicReturns this Variant as the remainder from dividing its original value and the Variant specified by rhs.
operator &publicPerforms a bitwise and operation with a specified value.
operator &=publicReturns this Variant after performing a bitwise and operation.
operator ()publicConverts the Variant.
operator *publicMultiplies the value of the Variant by a specified value.
operator *=publicMultiplies this Variant by the Variant specified by rhs.
operator +publicAdds a specified value to the Variant.
operator +=publicAdds the Variant specified by rhs to this Variant object.
operator -publicSubtracts a specified value from the Variant.
operator -=publicSubtracts the Variant specified by rhs from this Variant object.
operator /publicDivides the value of the Variant by a specified value.
operator /=publicDivides this Variant by the Variant rhs.
operator <public
operator <<publicReturns a new Variant that is the result of a shl (left shift) operation on this Variant.
operator <<=publicPerforms a bitwise shl (left shift) operation on this Variant.
operator <=public
operator =publicCopies a value into the OleVariant.
operator ==public
operator >public
operator >=public
operator >>publicReturns a new Variant that is the result of a shr (right shift) operation on this Variant.
operator >>=publicPerforms a bitwise shr (right shift) operation on this Variant.
operator ^publicPerforms a bitwise xor operation with a specified value.
operator ^=publicReturns this Variant after performing a bitwise xor operation.
operator |publicPerforms a bitwise or operation with a specified value.
operator |=publicReturns this Variant after performing a bitwise or operation.
PutElementpublicAssigns an element as the value of an entry in a Variant array.
Sanitizedpublic
SetErrorpublicConverts the Variant to a varError type and assigns the integer err as the value of the varError.
swappublic
TypepublicReturns the type code of a Variant instance.