Compartir a través de


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)

Syntax

'Declaration
Function GetTextViewFilter ( _
    pISenseHost As IVsIntellisenseHost, _
    pNextCmdTarget As IOleCommandTarget, _
    <OutAttribute> ByRef pTextViewFilter As IVsTextViewFilter _
) As Integer
int GetTextViewFilter(
    IVsIntellisenseHost pISenseHost,
    IOleCommandTarget pNextCmdTarget,
    out IVsTextViewFilter pTextViewFilter
)
int GetTextViewFilter(
    [InAttribute] IVsIntellisenseHost^ pISenseHost, 
    [InAttribute] IOleCommandTarget^ pNextCmdTarget, 
    [OutAttribute] IVsTextViewFilter^% pTextViewFilter
)
abstract GetTextViewFilter : 
        pISenseHost:IVsIntellisenseHost * 
        pNextCmdTarget:IOleCommandTarget * 
        pTextViewFilter:IVsTextViewFilter byref -> int
function GetTextViewFilter(
    pISenseHost : IVsIntellisenseHost, 
    pNextCmdTarget : IOleCommandTarget, 
    pTextViewFilter : IVsTextViewFilter
) : int

Parameters

Return Value

Type: System.Int32
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);

.NET Framework Security

See Also

Reference

IVsContainedLanguage Interface

Microsoft.VisualStudio.TextManager.Interop Namespace