다음을 통해 공유


IVsContextualIntellisenseFilterProvider.GetFilter Method

Definition

Returns an Intellisense filter for a given projec hierarchy.

public:
 int GetFilter(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsContextualIntellisenseFilter ^ % ppFilter);
public:
 int GetFilter(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsContextualIntellisenseFilter ^ &  ppFilter);
int GetFilter(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy, [Runtime::InteropServices::Out] Microsoft::VisualStudio::Shell::Interop::IVsContextualIntellisenseFilter const & & ppFilter);
public int GetFilter (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy, out Microsoft.VisualStudio.Shell.Interop.IVsContextualIntellisenseFilter ppFilter);
abstract member GetFilter : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy * IVsContextualIntellisenseFilter -> int
Public Function GetFilter (pHierarchy As IVsHierarchy, ByRef ppFilter As IVsContextualIntellisenseFilter) As Integer

Parameters

pHierarchy
IVsHierarchy

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

ppFilter
IVsContextualIntellisenseFilter

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

Returns

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  
);  

Applies to