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::GetMethodSemantics method

Gets flags indicating the relationship between the method referenced by the specified MethodDef token and the paired property and event referenced by the specified EventProp token.

Syntax


HRESULT GetMethodSemantics(
  [in]  mdMethodDef tkMethodDef,
  [in]  mdToken     tkEventProp,
  [out] DWORD       *pdwSemanticsFlags
);

Parameters

tkMethodDef [in]

A MethodDef token representing the method to get the semantic role information for.

tkEventProp [in]

A token representing the paired property and event for which to get the method's role.

pdwSemanticsFlags [out]

A pointer to the associated semantics flags. This value is a bitmask from the CorMethodSemanticsAttr enumeration.

Return value

If this method succeeds, it returns S_OK. Otherwise, it returns an HRESULT error code.

Requirements

IDL

Rometadataapi.idl

See also

IMetaDataImport

 

 

Show:
© 2017 Microsoft