IMetaDataImport::EnumSignatures Method
Enumerates Signature tokens representing stand-alone signatures in the current scope.
HRESULT EnumSignatures (
[in, out] HCORENUM *phEnum,
[out] mdSignature rSignatures[],
[in] ULONG cMax,
[out] ULONG *pcSignatures
);
Parameters
phEnum
[in, out] A pointer to the enumerator. This must be NULL for the first call of this method.rSignatures
[out] The array used to store the Signature tokens.cMax
[in] The maximum size of the rSignatures array.pcSignatures
[out] The number of Signature tokens returned in rSignatures.
Return Value
HRESULT |
Description |
---|---|
S_OK |
EnumSignatures returned successfully. |
S_FALSE |
There are no tokens to enumerate. In that case, pcSignatures is zero. |
Remarks
The Signature tokens are created by the IMetaDataEmit::GetTokenFromSig method.
Requirements
Platforms: See .NET Framework System Requirements.
Header: Cor.h
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0