IVsIntellisenseProject.GetProjectCodeModel(Object, Object) 方法

定义

检索项目的代码模型。

public:
 int GetProjectCodeModel(System::Object ^ pProj, [Runtime::InteropServices::Out] System::Object ^ % ppCodeModel);
int GetProjectCodeModel(winrt::Windows::Foundation::IInspectable const & pProj, [Runtime::InteropServices::Out] winrt::Windows::Foundation::IInspectable const & & ppCodeModel);
public int GetProjectCodeModel (object pProj, out object ppCodeModel);
abstract member GetProjectCodeModel : obj * obj -> int
Public Function GetProjectCodeModel (pProj As Object, ByRef ppCodeModel As Object) As Integer

参数

pProj
Object

中指向项目的 IUnknown 接口的指针。

ppCodeModel
Object

弄指向代码模型的的指针 IUnknown

返回

Int32

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

适用于