Megjegyzés
Az oldalhoz való hozzáféréshez engedély szükséges. Megpróbálhat bejelentkezni vagy módosítani a címtárat.
Az oldalhoz való hozzáféréshez engedély szükséges. Megpróbálhatja módosítani a címtárat.
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
[in] tkMethodDef
A MethodDef token representing the method to get the semantic role information for.
[in] tkEventProp
A token representing the paired property and event for which to get the method's role.
[out] pdwSemanticsFlags
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
| Requirement | Value |
|---|---|
| Target Platform | Windows |
| Header | rometadataapi.h |