다음을 통해 공유


IVsImmediateStatementCompletion2.InstallStatementCompletion Method (Int32, IVsTextView, Int32)

Informs the language service that it must add or remove its IVsTextViewFilter from the command filter chain for the command window’IVsTextViews IVsTextView.

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

Syntax

‘선언
Function InstallStatementCompletion ( _
    fInstall As Integer, _
    pCmdWinView As IVsTextView, _
    fInitialEnable As Integer _
) As Integer
int InstallStatementCompletion(
    int fInstall,
    IVsTextView pCmdWinView,
    int fInitialEnable
)
int InstallStatementCompletion(
    [InAttribute] int fInstall, 
    [InAttribute] IVsTextView^ pCmdWinView, 
    [InAttribute] int fInitialEnable
)
abstract InstallStatementCompletion : 
        fInstall:int * 
        pCmdWinView:IVsTextView * 
        fInitialEnable:int -> int 
function InstallStatementCompletion(
    fInstall : int, 
    pCmdWinView : IVsTextView, 
    fInitialEnable : int
) : int

Parameters

  • fInstall
    Type: System.Int32
    [in] Flag that determines whether to add or remove the filter. Value is true to add.
  • fInitialEnable
    Type: System.Int32
    [in] Flag that determines whether statement completion should be active upon return from this method. Value is true for active statement completion. If the filter is being removed, this parameter is ignored.

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Implements

IVsImmediateStatementCompletion.InstallStatementCompletion(Int32, IVsTextView, Int32)

.NET Framework Security

See Also

Reference

IVsImmediateStatementCompletion2 Interface

InstallStatementCompletion Overload

Microsoft.VisualStudio.TextManager.Interop Namespace