CodeAttachEventStatement.Listener Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets or sets the new event-handler delegate to attach to the event.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public CodeExpression Listener { get; set; }

Property Value

Type: System.CodeDom.CodeExpression

A CodeExpression that indicates the new event handler to attach.

.NET Framework
Available since 1.1
Return to top