Udostępnij za pośrednictwem


IVsImmediateStatementCompletion2 Interface

Definition

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.

public interface class IVsImmediateStatementCompletion2 : Microsoft::VisualStudio::TextManager::Interop::IVsImmediateStatementCompletion
public interface class IVsImmediateStatementCompletion2 : Microsoft::VisualStudio::TextManager::Interop::IVsImmediateStatementCompletion
__interface IVsImmediateStatementCompletion2 : Microsoft::VisualStudio::TextManager::Interop::IVsImmediateStatementCompletion
[System.Runtime.InteropServices.Guid("58F03D6E-F781-4E44-BD88-3BDE817CBDCD")]
[System.Runtime.InteropServices.InterfaceType(1)]
public interface IVsImmediateStatementCompletion2 : Microsoft.VisualStudio.TextManager.Interop.IVsImmediateStatementCompletion
[System.Runtime.InteropServices.Guid("58F03D6E-F781-4E44-BD88-3BDE817CBDCD")]
[System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)]
public interface IVsImmediateStatementCompletion2 : Microsoft.VisualStudio.TextManager.Interop.IVsImmediateStatementCompletion
[<System.Runtime.InteropServices.Guid("58F03D6E-F781-4E44-BD88-3BDE817CBDCD")>]
[<System.Runtime.InteropServices.InterfaceType(1)>]
type IVsImmediateStatementCompletion2 = interface
    interface IVsImmediateStatementCompletion
[<System.Runtime.InteropServices.Guid("58F03D6E-F781-4E44-BD88-3BDE817CBDCD")>]
[<System.Runtime.InteropServices.InterfaceType(System.Runtime.InteropServices.ComInterfaceType.InterfaceIsIUnknown)>]
type IVsImmediateStatementCompletion2 = interface
    interface IVsImmediateStatementCompletion
Public Interface IVsImmediateStatementCompletion2
Implements IVsImmediateStatementCompletion
Attributes
Implements

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.

Methods

EnableStatementCompletion_Deprecated(Int32, Int32, Int32)

This method is deprecated. Please use EnableStatementCompletion(Int32, Int32, Int32, IVsTextView).

EnableStatementCompletion(Int32, Int32, Int32, IVsTextView)

Enables or disables statement completion.

GetFilter(IVsTextView, IVsTextViewFilter)
InstallStatementCompletion(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.

SetCompletionContext_Deprecated(String, IVsTextLines, TextSpan[], Object)

This method is deprecated. Please use SetCompletionContext(String, IVsTextLines, TextSpan[], Object, IVsTextView).

SetCompletionContext(String, IVsTextLines, TextSpan[], Object, IVsTextView)

Sets the current context for statement completion for the command window.

Applies to