IMetaDataImport::EnumProperties method (rometadataapi.h)
Enumerates PropertyDef tokens representing the properties of the type referenced by the specified TypeDef token.
Syntax
HRESULT EnumProperties(
[in, out] HCORENUM *phEnum,
[in] mdTypeDef tkTypDef,
[out] mdProperty [] rgProperties,
[in] ULONG cMax,
[out] ULONG *pcProperties
);
Parameters
[in, out] phEnum
A pointer to the enumerator. This must be NULL for the first call of this method.
[in] tkTypDef
A TypeDef token representing the type with properties to enumerate.
[out] rgProperties
The array used to store the PropertyDef tokens.
[in] cMax
The maximum size of the rgProperties array.
[out] pcProperties
The number of PropertyDef tokens returned in rgProperties.
Return value
HRESULT | Description |
---|---|
S_OK | EnumProperties returned successfully. |
S_FALSE | There are no tokens to enumerate. In this case, pcProperties is 0 (zero). |
Requirements
Requirement | Value |
---|---|
Target Platform | Windows |
Header | rometadataapi.h |