다음을 통해 공유


IVsFindCancelDialog.LaunchDialog Method

Launches a modeless dialog on the background thread with which the user can cancel a lengthy find or replace operation

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)

Syntax

‘선언
Function LaunchDialog As Integer
‘사용 방법
Dim instance As IVsFindCancelDialog
Dim returnValue As Integer

returnValue = instance.LaunchDialog()
int LaunchDialog()
int LaunchDialog()
abstract LaunchDialog : unit -> int 
function LaunchDialog() : int

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code. Repeated calls to LaunchDialog close and re-launch the dialog rather than generating an error.

Remarks

Launches a modeless dialog on the background thread with which the user can cancel a lengthy background find or replace operation.

The environment's implementation of the IVsFindCancelDialog interface is thread-aware, so you may use the LaunchDialog method without regard to whether your calling process is on the foreground or background thread.

.NET Framework Security

See Also

Reference

IVsFindCancelDialog Interface

IVsFindCancelDialog Members

Microsoft.VisualStudio.TextManager.Interop Namespace