Enumerates the properties and the property-change events to which the specified method is related.
HRESULT EnumMethodSemantics ( [in, out] HCORENUM *phEnum, [in] mdMethodDef mb, [out] mdToken rEventProp, [in] ULONG cMax, [out] ULONG *pcEventProp );
Many common language runtime types define PropertyChanged events and OnPropertyChanged methods related to their properties. For example, the System.Windows.Forms.Control type defines a Font property, a FontChanged event, and an OnFontChanged method. The set accessor method of the Font property calls OnFontChanged method, which in turn raises the FontChanged event. You would call EnumMethodSemantics using the MethodDef for OnFontChanged to get references to the Font property and the FontChanged event.
Platforms: See .NET Framework System Requirements.
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: 4.6 Preview, 4.5.2, 4.5.1, 4.5, 4, 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0