Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

IMetaDataImport::EnumSignatures method

Enumerates Signature tokens representing stand-alone signatures in the current scope.

Syntax


HRESULT EnumSignatures(
  [in, out]                                      HCORENUM    *phEnum,
  [out, size_is(cMax), length_is(*pcSignatures)] mdSignature rgSignatures[],
  [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.

rgSignatures [out]

The array used to store the Signature tokens.

cMax [in]

The maximum size of the rgSignatures array.

pcSignatures [out]

The number of Signature tokens returned in rgSignatures.

Return value

HRESULTDescription
S_OKEnumSignatures returned successfully.
S_FALSEThere are no tokens to enumerate. In this case, pcSignatures is 0 (zero).

 

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataImport

 

 

Show: