EventExtensionMethods Raise Method (EventHandler, Object, EventArgs)Cognex VisionPro 9.23

Namespace: Cognex.VisionPro.Implementation.Internal
Assembly: Cognex.VisionPro (in Cognex.VisionPro.dll) Version: 91.0.0.0 (91.0.0.0)
Syntax

public static void Raise(
	this EventHandler eventDelegate,
	Object sender,
	EventArgs e
)

Parameters

eventDelegate
Type: System EventHandler
sender
Type: System Object
e
Type: System EventArgs

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type EventHandler. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
See Also