IVsContextualIntellisenseFilterProvider.GetFilter Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
);