CodeEventReferenceExpression Constructor (CodeExpression, String)
Collapse the table of content
Expand the table of content

CodeEventReferenceExpression Constructor (CodeExpression, String)

 

Initializes a new instance of the CodeEventReferenceExpression class using the specified target object and event name.

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

public CodeEventReferenceExpression(
	CodeExpression targetObject,
	string eventName
)

Parameters

targetObject
Type: System.CodeDom.CodeExpression

A CodeExpression that indicates the object that contains the event.

eventName
Type: System.String

The name of the event to reference.

.NET Framework
Available since 1.1
Return to top
Show:
© 2016 Microsoft