IBuilderWizardManager.EnableModeless Method

Sets builder dialogs to modeless or modal.

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

Syntax

‘선언
Function EnableModeless ( _
    fEnable As Integer _
) As Integer
‘사용 방법
Dim instance As IBuilderWizardManager
Dim fEnable As Integer
Dim returnValue As Integer

returnValue = instance.EnableModeless(fEnable)
int EnableModeless(
    int fEnable
)
int EnableModeless(
    [InAttribute] int fEnable
)
abstract EnableModeless : 
        fEnable:int -> int 
function EnableModeless(
    fEnable : int
) : int

Parameters

  • fEnable
    Type: System.Int32
    [in] true to enable modeless dialogs; false otherwise.

Return Value

Type: System.Int32
Returns S_OK. This method does not fail.

Remarks

Builders returned by GetBuilder run as modal builders. The IBuilderWizardManager client is responsible for disabling the application prior to invoking the builder, and then re-enabling the application after the method returns. You can do this several ways:

.NET Framework Security

See Also

Reference

IBuilderWizardManager Interface

IBuilderWizardManager Members

Microsoft.VisualStudio.Shell.Interop Namespace