Gets metadata information for the event represented by the specified event token, including the declaring type, the add and remove methods for delegates, and any flags and other associated data.
HRESULT GetEventProps ( [in] mdEvent ev, [out] mdTypeDef *pClass, [out] LPCWSTR szEvent, [in] ULONG cchEvent, [out] ULONG *pchEvent, [out] DWORD *pdwEventFlags, [out] mdToken *ptkEventType, [out] mdMethodDef *pmdAddOn, [out] mdMethodDef *pmdRemoveOn, [out] mdMethodDef *pmdFire, [out] mdMethodDef rmdOtherMethod, [in] ULONG cMax, [out] ULONG *pcOtherMethod );
[in] The event metadata token representing the event to get metadata for.
[out] A pointer to the TypeDef token representing the class that declares the event.
[out] The name of the event referenced by
[in] The requested length in wide characters of
[out] The returned length in wide characters of
[out] A pointer to a TypeRef or TypeDef metadata token representing the Delegate type of the event.
[out] A pointer to the metadata token representing the method that adds handlers for the event.
[out] A pointer to the metadata token representing the method that removes handlers for the event.
[out] A pointer to the metadata token representing the method that raises the event.
[out] An array of token pointers to other methods associated with the event.
[in] The maximum size of the
[out] The number of tokens returned in
Platforms: See System Requirements.
Library: Included as a resource in MsCorEE.dll
.NET Framework Versions: Available since 1.0