Gets or sets the new event-handler delegate to attach to the event.
[Visual Basic] Public Property Listener As CodeExpression [C#] public CodeExpression Listener {get; set;} [C++] public: __property CodeExpression* get_Listener(); public: __property void set_Listener(CodeExpression*); [JScript] public function get Listener() : CodeExpression; public function set Listener(CodeExpression);
A CodeExpression that indicates the new event handler to attach.
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