Executes the specified delegate on the thread that owns the control's underlying window handle.
Syntax
Visual Basic (Declaration) |
|
Public Overloads Function Invoke( _
ByVal method As Delegate _
) As Object |
Visual Basic (Usage) |
Copy Code |
Dim instance As Chart
Dim method As Delegate
Dim value As Object
value = instance.Invoke(method)
|
Parameters
- method
- A delegate that contains a method to be called in the control's thread context.
Return Value
The return value from the delegate being invoked, or null if the delegate has no return value.
Requirements
Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family
See Also