This topic has not yet been rated - Rate this topic

IVsContainedLanguage.GetTextViewFilter Method

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

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop.8.0 (in Microsoft.VisualStudio.TextManager.Interop.8.0.dll)
int GetTextViewFilter(
	IVsIntellisenseHost pISenseHost,
	IOleCommandTarget pNextCmdTarget,
	out IVsTextViewFilter pTextViewFilter
)

Parameters

pISenseHost
Type: Microsoft.VisualStudio.TextManager.Interop.IVsIntellisenseHost

[in] An IVsIntellisenseHost object representing the IntelliSense host.

pNextCmdTarget
Type: Microsoft.VisualStudio.OLE.Interop.IOleCommandTarget

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

pTextViewFilter
Type: Microsoft.VisualStudio.TextManager.Interop.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.

Return Value

Type: Int32
If successful, returns S_OK; otherwise, returns an error code.

COM Signature

From singlefileeditor.idl:

HRESULT GetTextViewFilter(
   [in]          IVsIntellisenseHost* pISenseHost,
   [in]          IOleCommandTarget*   pNextCmdTarget,
   [out, retval] IVsTextViewFilter**  pTextViewFilter);
Did you find this helpful?
(1500 characters remaining)
© 2013 Microsoft. All rights reserved.