IMetaDataImport::EnumMemberRefs Method
Enumerates MemberRef tokens representing members of the specified type.
Syntax
HRESULT EnumMemberRefs (
[in, out] HCORENUM *phEnum,
[in] mdToken tkParent,
[out] mdMemberRef rMemberRefs[],
[in] ULONG cMax,
[out] ULONG *pcTokens
);
Parameters
phEnum
[in, out] A pointer to the enumerator.
tkParent
[in] A TypeDef, TypeRef, MethodDef, or ModuleRef token for the type whose members are to be enumerated.
rMemberRefs
[out] The array used to store MemberRef tokens.
cMax
[in] The maximum size of the rMemberRefs
array.
pcTokens
[out] The actual number of MemberRef tokens returned in rMemberRefs
.
Return Value
HRESULT | Description |
---|---|
S_OK |
EnumMemberRefs returned successfully. |
S_FALSE |
There are no MemberRef tokens to enumerate. In that case, pcTokens is to zero. |
Requirements
Platforms: See System Requirements.
Header: Cor.h
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: Available since 1.0
See also
Tee yhteistyötä kanssamme GitHubissa
Tämän sisällön lähde on GitHubissa, jossa voit myös luoda ja tarkastella ongelmia ja pull-pyyntöjä. Katso lisätietoja osallistujan oppaasta.