System.CodeDom.CodeEventReferenceExpression Class

Represents a reference to an event.

See Also: CodeEventReferenceExpression Members

Syntax

[System.Runtime.InteropServices.ClassInterface(System.Runtime.InteropServices.ClassInterfaceType.AutoDispatch)]
[System.Runtime.InteropServices.ComVisible(true)]
public class CodeEventReferenceExpression : CodeExpression

Remarks

System.CodeDom.CodeEventReferenceExpression can be used to represent a reference to an event.

The CodeEventReferenceExpression.TargetObject property specifies the object that contains the event. The CodeEventReferenceExpression.EventName property specifies the name of the event.

Requirements

Namespace: System.CodeDom
Assembly: System (in System.dll)
Assembly Versions: 1.0.3300.0, 1.0.5000.0, 2.0.0.0, 4.0.0.0