Share via


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
'Usage
Dim instance As IVsContextualIntellisenseFilterProvider 
Dim pHierarchy As IVsHierarchy 
Dim ppFilter As IVsContextualIntellisenseFilter 
Dim returnValue As Integer 

returnValue = instance.GetFilter(pHierarchy, _
    ppFilter)
int GetFilter(
    IVsHierarchy pHierarchy,
    out IVsContextualIntellisenseFilter ppFilter
)
int GetFilter(
    [InAttribute] IVsHierarchy^ pHierarchy, 
    [OutAttribute] IVsContextualIntellisenseFilter^% ppFilter
)
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

IVsContextualIntellisenseFilterProvider Members

Microsoft.VisualStudio.Shell.Interop Namespace