Executes the specified delegate on the thread that owns the control's underlying window handle.
Syntax
Visual Basic (Declaration) | |
---|
Overloads Public Function Invoke( _
ByVal method As Delegate _
) As Object |
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: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7
See Also