Sign in Join
FPDoc Onlineexperiment

TInvokeableVariantType class

In unit Variants

TCustomVariantType descendent that implements DispInvoke.

Declaration

pascal
TInvokeableVariantType = class(TCustomVariantType)

Inheritance

  1. TInvokeableVariantType
  2. TCustomVariantType
  3. TObject

Descends from it: TPublishableVariantType

Description

TInvokeableVariantType is a TCustomVariantType descendent which implements the DispInvoke method. It translates the DispInvoke" method to calls to one or more of the four methods of IVarInvokeable: DoFunction or DoProcedure for method calls (DISPATCH_METHOD) and GetProperty for property reading (DISPATCH_PROPERTYGET) or SetProperty for property writing (DISPATCH_PROPERTYSET). Other combinations are possible. It has empty stubs for these methods, which must be implemented in a descendent that is used to describe a custom variant.

See also

Methods

DispInvokeprotected
DoFunctionpublicEmpty stub for IVarInvokeable.DoFunction, to be implemented in descendents.
DoProcedurepublicEmpty stub for IVarInvokeable.DoProcedure, to be implemented in descendents.
GetPropertypublicEmpty stub for IVarInvokeable.GetProperty, to be implemented in descendents.
SetPropertypublicEmpty stub for IVarInvokeable.SetProperty, to be implemented in descendents.

Inherited

From TCustomVariantType (41)

_AddRef _Release BinaryOp Cast CastTo CastToOle Clear Compare CompareOp Copy Create Destroy IsClear LeftPromotion OlePromotion QueryInterface RaiseCastError RaiseDispError RaiseInvalidOp RightPromotion SimplisticClear SimplisticCopy UnaryOp VarDataCast VarDataCastTo VarDataCastToOleStr VarDataClear VarDataCopy VarDataCopyNoInd VarDataFromOleStr VarDataFromStr VarDataInit VarDataIsArray VarDataIsByRef VarDataIsEmptyParam VarDataIsFloat VarDataIsNumeric VarDataIsOrdinal VarDataIsStr VarDataToStr VarType

From TObject (40)

AfterConstruction BeforeDestruction CheckDisposed ClassInfo ClassName ClassNameIs ClassParent ClassType CleanupInstance DefaultHandler DefaultHandlerStr Dispatch DispatchStr Disposed DisposeOf Equals FieldAddress Free FreeInstance GetDisposed GetHashCode GetInterface GetInterfaceByStr GetInterfaceEntry GetInterfaceEntryByStr GetInterfaceTable GetInterfaceWeak GetLastCastErrorInfo InheritsFrom InitInstance InstanceSize MethodAddress MethodName newinstance QualifiedClassName SafeCallException StringMessageTable SystemHasExtendedRTTI ToString UnitName

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.