Not
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Sets or updates the specified feature of an event defined by a prior call to IMetaDataEmit::DefineEvent.
HRESULT SetEventProps (
[in] mdEvent ev,
[in] DWORD dwEventFlags,
[in] mdToken tkEventType,
[in] mdMethodDef mdAddOn,
[in] mdMethodDef mdRemoveOn,
[in] mdMethodDef mdFire,
[in] mdMethodDef rmdOtherMethods[]
);
Parameters
ev
[in] The event token.dwEventFlags
[in] Event flags.tkEventType
[in] The token for the event class.mdAddOn
[in] The method used to subscribe to the event, or null.mdRemoveOn
[in] The method used to unsubscribe to the event, or null.mdFire
[in] The method used (by a derived class) to raise the event.rmdOtherMethods[]
[in] An array of tokens for other methods associated with the event.
Requirements
Platforms: See .NET Framework System Requirements.
Header: Cor.h
Library: Used as a resource in MSCorEE.dll
.NET Framework Versions: 3.5 SP1, 3.5, 3.0 SP1, 3.0, 2.0 SP1, 2.0, 1.1, 1.0