This documentation is archived and is not being maintained.

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

int GetFilter (
	[InAttribute] IVsHierarchy pHierarchy,
	out IVsContextualIntellisenseFilter ppFilter
int GetFilter (
	/** @attribute InAttribute() */ IVsHierarchy pHierarchy, 
	/** @attribute OutAttribute() */ /** @ref */ IVsContextualIntellisenseFilter ppFilter
JScript does not support passing value-type arguments by reference.



 [in] Pointer to the IVsHierarchy interface to use in configuring the Intellisense filter.


 [out] Pointer to an Intellisense filter, an IVsContextualIntellisenseFilter interface.

Return Value

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

COM Signature

From vsshell80.idl:

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