Note
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang mag-sign in o magpalit ng mga direktoryo.
Ang pag-access sa pahinang ito ay nangangailangan ng pahintulot. Maaari mong subukang baguhin ang mga direktoryo.
Enumerates PropertyDef tokens representing the properties of the type referenced by the specified TypeDef token.
Syntax
HRESULT EnumProperties (
[in, out] HCORENUM *phEnum,
[in] mdTypeDef td,
[out] mdProperty rProperties[],
[in] ULONG cMax,
[out] ULONG *pcProperties
);
Parameters
phEnum
[in, out] A pointer to the enumerator. This must be NULL for the first call of this method.
td
[in] A TypeDef token representing the type with properties to enumerate.
rProperties
[out] The array used to store the PropertyDef tokens.
cMax
[in] The maximum size of the rProperties array.
pcProperties
[out] The number of PropertyDef tokens returned in rProperties.
Return Value
| HRESULT | Description |
|---|---|
S_OK |
EnumProperties returned successfully. |
S_FALSE |
There are no tokens to enumerate. In that case, pcProperties is zero. |
Requirements
Platforms: See .NET supported operating systems.
Header: Cor.h
Library: CorGuids.lib