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
| HRESULT | Description |
|---|---|
| S_OK | EnumMethodSemantics returned successfully. |
| S_FALSE | There are no events or properties to enumerate. In this case, pcEventProp is 0 (zero). |
Requirements
|
IDL |
|
|---|
See also
Show: