Freigeben über


IVsContainedLanguage.GetTextViewFilter Method

Definition

Returns a text view filter to handle delegated text view filtering responsibility.

public:
 int GetTextViewFilter(Microsoft::VisualStudio::TextManager::Interop::IVsIntellisenseHost ^ pISenseHost, Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ pNextCmdTarget, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextViewFilter ^ % pTextViewFilter);
public:
 int GetTextViewFilter(Microsoft::VisualStudio::TextManager::Interop::IVsIntellisenseHost ^ pISenseHost, Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget ^ pNextCmdTarget, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextViewFilter ^ &  pTextViewFilter);
int GetTextViewFilter(Microsoft::VisualStudio::TextManager::Interop::IVsIntellisenseHost const & pISenseHost, Microsoft::VisualStudio::OLE::Interop::IOleCommandTarget const & pNextCmdTarget, [Runtime::InteropServices::Out] Microsoft::VisualStudio::TextManager::Interop::IVsTextViewFilter const & & pTextViewFilter);
public int GetTextViewFilter (Microsoft.VisualStudio.TextManager.Interop.IVsIntellisenseHost pISenseHost, Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget pNextCmdTarget, out Microsoft.VisualStudio.TextManager.Interop.IVsTextViewFilter pTextViewFilter);
abstract member GetTextViewFilter : Microsoft.VisualStudio.TextManager.Interop.IVsIntellisenseHost * Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget * IVsTextViewFilter -> int
Public Function GetTextViewFilter (pISenseHost As IVsIntellisenseHost, pNextCmdTarget As IOleCommandTarget, ByRef pTextViewFilter As IVsTextViewFilter) As Integer

Parameters

pISenseHost
IVsIntellisenseHost

[in] An IVsIntellisenseHost object representing the IntelliSense host.

pNextCmdTarget
IOleCommandTarget

[in] An IOleCommandTarget object representing the command target to pass any unhandled commands to.

pTextViewFilter
IVsTextViewFilter

[out] Returns an IVsTextViewFilter object representing the text view filter that is used by the contained language service to receive any commands passed to the text view.

Returns

If successful, returns S_OK; otherwise, returns an error code.

Remarks

COM Signature

From singlefileeditor.idl:

HRESULT GetTextViewFilter(  
   [in]          IVsIntellisenseHost* pISenseHost,  
   [in]          IOleCommandTarget*   pNextCmdTarget,  
   [out, retval] IVsTextViewFilter**  pTextViewFilter);  

Applies to