EventExtensionMethods Raise T  Method (EventHandler T , Object, T)Cognex VisionPro

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

public static void Raise<T>(
	this EventHandler<T> eventDelegate,
	Object sender,
	T e
)
where T : EventArgs

Parameters

eventDelegate
Type: System EventHandler T 
sender
Type: System Object
e
Type: T
Type Parameters

T

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type EventHandler T . 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