共用方式為


ActionsPane.InvokeRequired Property

Gets a value indicating whether the caller must call an invoke method when making method calls to the actions pane control because the caller is on a different thread than the one the actions pane control was created on.

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

Syntax

'Declaration
<BrowsableAttribute(False)> _
ReadOnly Property InvokeRequired As Boolean
[BrowsableAttribute(false)]
bool InvokeRequired { get; }

Property Value

Type: System.Boolean
true if the actions pane control's Handle was created on a different thread than the calling thread (indicating that you must make calls to the control through an invoke method); otherwise, false.

Remarks

This property provides the same functionality as the Control.InvokeRequired property. For more information about using this property, see Control.InvokeRequired.

.NET Framework Security

See Also

Reference

ActionsPane Interface

Microsoft.Office.Tools Namespace

Other Resources

Actions Pane Overview