Represents a statement that attaches an event-handler delegate to an event.
The following tables list the members exposed by the CodeAttachEventStatement type.
|EndDirectives||Gets a CodeDirectiveCollection object that contains end directives.(inherited from CodeStatement)|
|Event||Gets or sets the event to attach an event-handler delegate to.|
|LinePragma||Gets or sets the line on which the code statement occurs. (inherited from CodeStatement)|
|Listener||Gets or sets the new event-handler delegate to attach to the event.|
|StartDirectives||Gets a CodeDirectiveCollection object that contains start directives.(inherited from CodeStatement)|
|UserData||Gets the user-definable data for the current object.(inherited from CodeObject)|
(see also Protected Methods )
|Equals||Overloaded. Determines whether two Object instances are equal. (inherited from Object)|
|GetHashCode||Serves as a hash function for a particular type. (inherited from Object)|
|GetType||Gets the Type of the current instance. (inherited from Object)|
|ReferenceEquals||Determines whether the specified Object instances are the same instance. (inherited from Object)|
|ToString||Returns a String that represents the current Object. (inherited from Object)|