Gets or sets the event to attach an event-handler delegate to.
[Visual Basic] Public Property Event As CodeEventReferenceExpression [C#] public CodeEventReferenceExpression Event {get; set;} [C++] public: __property CodeEventReferenceExpression* get_Event(); public: __property void set_Event(CodeEventReferenceExpression*); [JScript] public function get Event() : CodeEventReferenceExpression; public function set Event(CodeEventReferenceExpression);
A CodeEventReferenceExpression that indicates the event to attach an event handler to.
Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family
CodeAttachEventStatement Class | CodeAttachEventStatement Members | System.CodeDom Namespace