Windows apps
Collapse the table of content
Expand the table of content
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::EnumMethodSemantics method

Enumerates the properties and the property-change events to which the specified method is related.

Syntax


HRESULT EnumMethodSemantics(
  [in, out]                                     HCORENUM    *phEnum,
  [in]                                          mdMethodDef tkMethodDef,
  [out, size_is(cMax), length_is(*pcEventProp)] mdToken     rgEventProp[],
  [in]                                          ULONG       cMax,
  [out]                                         ULONG       *pcEventProp
);

Parameters

phEnum [in, out]

A pointer to the enumerator. This must be NULL for the first call of this method.

tkMethodDef [in]

A MethodDef token that limits the scope of the enumeration.

rgEventProp [out]

The array used to store the events or properties.

cMax [in]

The maximum size of the rgEventProp array.

pcEventProp [out]

The number of events or properties returned in rgEventProp.

Return value

HRESULTDescription
S_OKEnumMethodSemantics returned successfully.
S_FALSEThere are no events or properties to enumerate. In this case, pcEventProp is 0 (zero).

 

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataImport

 

 

Show:
© 2017 Microsoft