IVsImmediateStatementCompletion2 Interface

This interface is implemented by a language service that supports statement completion and other IntelliSense features in the immediate mode of the command window. This mode occurs when the debugger is in break mode.

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

Syntax

'Declaration
<InterfaceTypeAttribute()> _
<GuidAttribute("58F03D6E-F781-4E44-BD88-3BDE817CBDCD")> _
Public Interface IVsImmediateStatementCompletion2 _
    Inherits IVsImmediateStatementCompletion
[InterfaceTypeAttribute()]
[GuidAttribute("58F03D6E-F781-4E44-BD88-3BDE817CBDCD")]
public interface IVsImmediateStatementCompletion2 : IVsImmediateStatementCompletion
[InterfaceTypeAttribute()]
[GuidAttribute(L"58F03D6E-F781-4E44-BD88-3BDE817CBDCD")]
public interface class IVsImmediateStatementCompletion2 : IVsImmediateStatementCompletion
[<InterfaceTypeAttribute()>]
[<GuidAttribute("58F03D6E-F781-4E44-BD88-3BDE817CBDCD")>]
type IVsImmediateStatementCompletion2 =  
    interface 
        interface IVsImmediateStatementCompletion 
    end
public interface IVsImmediateStatementCompletion2 extends IVsImmediateStatementCompletion

The IVsImmediateStatementCompletion2 type exposes the following members.

Methods

  Name Description
Public method EnableStatementCompletion Enables or disables statement completion.
Public method EnableStatementCompletion_Deprecated This method is deprecated. Please use EnableStatementCompletion.
Public method GetFilter
Public method InstallStatementCompletion Informs the language service that it must add or remove its IVsTextViewFilter from the command filter chain for the command window’IVsTextViews IVsTextView.
Public method SetCompletionContext Sets the current context for statement completion for the command window.
Public method SetCompletionContext_Deprecated This method is deprecated. Please use SetCompletionContext.

Top

Remarks

This interface is called by the command window of the environment and is accessed by calling QueryInterface on the same object that implements IVsLanguageInfo.

This interface was created when statement completion support was added to the Watch Window, and the support for multiple filters in the language was required. Only use this interface from now on, do not use the old interface.

See Also

Reference

Microsoft.VisualStudio.TextManager.Interop Namespace