This documentation is archived and is not being maintained.
InternalTypeHelper::AddEventHandler Method
Visual Studio 2010
When overridden in a derived (generated) class, attaches an event handler delegate to an internal event.
Assembly: WindowsBase (in WindowsBase.dll)
protected public: virtual void AddEventHandler( EventInfo^ eventInfo, Object^ target, Delegate^ handler ) abstract
Parameters
- eventInfo
- Type: System.Reflection::EventInfo
The event information for the event (CLR reflection information).
- target
- Type: System::Object
The target where the handler is attached.
- handler
- Type: System::Delegate
The event handler.
The InternalTypeHelper class is not intended for use by anything other than the WPF XAML markup compiler.
Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2
The .NET Framework does not support all versions of every platform. For a list of the supported versions, see .NET Framework System Requirements.
Show: