IVsContextualIntellisenseFilter.Initialize(IVsHierarchy) 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.
Initializes the filter to use a particular hierarchy.
public:
int Initialize(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
public:
int Initialize(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy ^ pHierarchy);
int Initialize(Microsoft::VisualStudio::Shell::Interop::IVsHierarchy const & pHierarchy);
public int Initialize (Microsoft.VisualStudio.Shell.Interop.IVsHierarchy pHierarchy);
abstract member Initialize : Microsoft.VisualStudio.Shell.Interop.IVsHierarchy -> int
Public Function Initialize (pHierarchy As IVsHierarchy) As Integer
Parameters
- pHierarchy
- IVsHierarchy
[in] Pointer to the IVsHierarchy interface to filter against.
Returns
If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Remarks
COM Signature
From vsshell80.idl:
HRESULT IVsContextualIntellisenseFilter::Initialize(
[in] IVsHierarchy* pHierarchy
);