다음을 통해 공유


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

‘선언
Function GetTextViewFilter ( _
    pISenseHost As IVsIntellisenseHost, _
    pNextCmdTarget As IOleCommandTarget, _
    <OutAttribute> ByRef pTextViewFilter As IVsTextViewFilter _
) As Integer
‘사용 방법
Dim instance As IVsContainedLanguage
Dim pISenseHost As IVsIntellisenseHost
Dim pNextCmdTarget As IOleCommandTarget
Dim pTextViewFilter As IVsTextViewFilter
Dim returnValue As Integer

returnValue = instance.GetTextViewFilter(pISenseHost, _
    pNextCmdTarget, pTextViewFilter)
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

IVsContainedLanguage Members

Microsoft.VisualStudio.TextManager.Interop Namespace