Visual Basic (Declaration) | |
---|---|
<SRDescriptionAttribute("Determines if Invoke or BeginInvoke should be used to access this control cross-thread.")> <DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)> <BrowsableAttribute(False)> <EditorBrowsableAttribute(EditorBrowsableState.Advanced)> Public ReadOnly Property InvokeRequired As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim instance As Medical3DControl Dim value As Boolean value = instance.InvokeRequired |
C# | |
---|---|
[SRDescriptionAttribute("Determines if Invoke or BeginInvoke should be used to access this control cross-thread.")] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [BrowsableAttribute(false)] [EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public bool InvokeRequired {get;} |
C++/CLI | |
---|---|
[SRDescriptionAttribute("Determines if Invoke or BeginInvoke should be used to access this control cross-thread.")] [DesignerSerializationVisibilityAttribute(DesignerSerializationVisibility.Hidden)] [BrowsableAttribute(false)] [EditorBrowsableAttribute(EditorBrowsableState.Advanced)] public: property bool InvokeRequired { bool get(); } |
Property Value
true if the control's System.Windows.Forms.Control.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.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7