ActionsPane.Invoke Method (Delegate, Object[])


Executes the specified delegate, on the thread that owns the actions pane's underlying window handle, with the specified list of arguments.

Namespace:   Microsoft.Office.Tools
Assembly:  Microsoft.Office.Tools.Common (in Microsoft.Office.Tools.Common.dll)

object Invoke(
	Delegate method,
	object[] args


Type: System.Delegate

A delegate to a method that takes parameters of the same number and type that are contained in the args parameter.

Type: System.Object[]

An array of objects to pass as arguments to the specified method. This parameter can be null if the method takes no arguments.

Return Value

Type: System.Object

An Object that contains the return value from the delegate being invoked, or null if the delegate has no return value.

This method provides the same functionality as the Control.Invoke(Delegate, Object[]) method. For more information about using this method, see Control.Invoke(Delegate, Object[]).

Return to top