System.CodeDom.CodeDelegateInvokeExpression Class

Represents an expression that raises an event.

See Also: CodeDelegateInvokeExpression Members

Syntax

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

Remarks

System.CodeDom.CodeDelegateInvokeExpression can be used to represent code that invokes an event. Invoking an event invokes all delegates that are registered with the event using the specified parameters.

The CodeDelegateInvokeExpression.TargetObject property specifies the event to invoke. The CodeDelegateInvokeExpression.Parameters property specifies the parameters to pass to the delegates for 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