IVsContextualIntellisenseFilterProvider.GetFilter(IVsHierarchy, IVsContextualIntellisenseFilter) Метод
Определение
Важно!
Некоторые сведения относятся к предварительной версии продукта, в которую до выпуска могут быть внесены существенные изменения. Майкрософт не предоставляет никаких гарантий, явных или подразумеваемых, относительно приведенных здесь сведений.
Возвращает фильтр Intellisense для данной иерархии проекта.
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
Параметры
- pHierarchy
- IVsHierarchy
[in] Указатель на интерфейс IVsHierarchy, который необходимо использовать в настройках фильтра Intellisense.
- ppFilter
- IVsContextualIntellisenseFilter
[out] Указатель на фильтр IntelliSense, интерфейс IVsContextualIntellisenseFilter.
Возвращаемое значение
Если метод завершается успешно, возвращает значение S_OK. В противном случае функция возвращает код ошибки.
Комментарии
Подпись COM
Из vsshell80. IDL:
HRESULT IVsContextualIntellisenseFilterProvider::GetFilter(
[in] IVsHierarchy* pHierarchy,
[out] IVsContextualIntellisenseFilter** ppFilter
);