IVsIntellisenseProject.Init(IVsIntellisenseProjectHost) 方法

定义

初始化 Intellisense 项目。

public:
 int Init(Microsoft::VisualStudio::Shell::Interop::IVsIntellisenseProjectHost ^ pHost);
public:
 int Init(Microsoft::VisualStudio::Shell::Interop::IVsIntellisenseProjectHost ^ pHost);
int Init(Microsoft::VisualStudio::Shell::Interop::IVsIntellisenseProjectHost const & pHost);
public int Init (Microsoft.VisualStudio.Shell.Interop.IVsIntellisenseProjectHost pHost);
abstract member Init : Microsoft.VisualStudio.Shell.Interop.IVsIntellisenseProjectHost -> int
Public Function Init (pHost As IVsIntellisenseProjectHost) As Integer

参数

pHost
IVsIntellisenseProjectHost

中指向 IVsIntellisenseProjectHost 包含项目的层次结构节点的接口的指针。

返回

Int32

如果该方法成功,则它会返回 S_OK。 如果该方法失败,则会返回错误代码。

适用于