Поделиться через


IVsContextualIntellisenseFilterProvider.GetFilter Method

Returns an Intellisense filter for a given projec hierarchy.

Namespace:  Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

Syntax

'Declaration
Function GetFilter ( _
    pHierarchy As IVsHierarchy, _
    <OutAttribute> ByRef ppFilter As IVsContextualIntellisenseFilter _
) As Integer
int GetFilter(
    IVsHierarchy pHierarchy,
    out IVsContextualIntellisenseFilter ppFilter
)
int GetFilter(
    [InAttribute] IVsHierarchy^ pHierarchy, 
    [OutAttribute] IVsContextualIntellisenseFilter^% ppFilter
)
abstract GetFilter : 
        pHierarchy:IVsHierarchy * 
        ppFilter:IVsContextualIntellisenseFilter byref -> int 
function GetFilter(
    pHierarchy : IVsHierarchy, 
    ppFilter : IVsContextualIntellisenseFilter
) : int

Parameters

Return Value

Type: System.Int32
If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Remarks

COM Signature

From vsshell80.idl:

HRESULT IVsContextualIntellisenseFilterProvider::GetFilter(
   [in] IVsHierarchy* pHierarchy, 
   [out] IVsContextualIntellisenseFilter** ppFilter
);

.NET Framework Security

See Also

Reference

IVsContextualIntellisenseFilterProvider Interface

Microsoft.VisualStudio.Shell.Interop Namespace