GetInvokeRequired() Method (ImageViewer)
Returns a value indicating whether the caller must call an invoke method when making method calls to the control because the caller is on a different thread than the one the control was created on.
'Declaration
Protected Overridable Function GetInvokeRequired() As Boolean
protected virtual bool GetInvokeRequired()
protected: virtual bool GetInvokeRequired()
protected:
virtual bool GetInvokeRequired()
Return 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: .NET 10; .NET 9; .NET 8; .NET 7; .NET 6; .NET Framework 4.8, 4.7, 4.6, 4.5, 4.0, 3.5