RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
TEnumPropDesc.Create Constructor

Creates an instance of TEnumPropDesc.

Pascal
constructor Create(DispID: Integer; ValueCount: Integer; const TypeInfo: ITypeInfo);
C++
__fastcall TEnumPropDesc(int DispID, int ValueCount, const ITypeInfo TypeInfo);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!