Vcl.AxCtrls.EnumDispatchProperties

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

procedure EnumDispatchProperties(Dispatch: IDispatch; PropType: TGUID;
VTCode: Integer; PropList: TStrings);

C++

extern DELPHI_PACKAGE void __fastcall EnumDispatchProperties(_di_IDispatch Dispatch, const GUID &PropType, int VTCode, System::Classes::TStrings* PropList);

Properties

Type Visibility Source Unit Parent
procedure
function
public
Vcl.AxCtrls.pas
Vcl.AxCtrls.hpp
Vcl.AxCtrls Vcl.AxCtrls

Description

Fills a TStringList will all the property names and DispIDs in a specified IDispatch interface.

Use EnumDispatchProperties to get the names of the properties supported by an IDispatch interface. The Dispatch parameter is an instance of the IDispatch interface. The PropType and VTCode parameters allow the caller to limit the list to only those properties that match a particular GUID and type identifier. To see all properties of the IDispatch interface, set PropType to GUID_NULL and VTCode to VT_EMPTY.

The property names that the IDispatch interface supports are added to the list passed in as the PropList parameter.

See Also