Vcl.OleCtrls.TEnumPropDesc.Create

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

constructor Create(DispID, ValueCount: Integer;
const TypeInfo: ITypeInfo);

C++

__fastcall TEnumPropDesc(int DispID, int ValueCount, const _di_ITypeInfo TypeInfo);

Properties

Type Visibility Source Unit Parent
constructor public
Vcl.OleCtrls.pas
Vcl.OleCtrls.hpp
Vcl.OleCtrls TEnumPropDesc

Description

Creates an instance of TEnumPropDesc.

Create is called by an OLE control object to create an instance of TEnumPropDesc to represent the values of one of its properties. Applications should not need to create instances of TEnumPropDesc. When working with OLE properties, get the TEnumPropDesc objects from the OLE control object.

DispID identifies the property of the OLE object, ValueCount is the number of distinct values the property can take TypeInfo is an ITypeInfo object that the constructor can use to capture the values and their strings.

See Also