IVsContextualIntellisenseFilterProvider.GetFilter Method (IVsHierarchy, IVsContextualIntellisenseFilter)

 

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)

int GetFilter(
	IVsHierarchy pHierarchy,
	out IVsContextualIntellisenseFilter ppFilter
)

Parameters

pHierarchy
Type: Microsoft.VisualStudio.Shell.Interop.IVsHierarchy

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

ppFilter
Type: Microsoft.VisualStudio.Shell.Interop.IVsContextualIntellisenseFilter

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

Return Value

Type: System.Int32

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

From vsshell80.idl:

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