Partager via


IVsIntellisenseProject.GetProjectCodeModel(Object, Object) Method

Definition

Retrieves the code model for the project.

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

Parameters

pProj
Object

[in] Pointer to the IUnknown interface of the project.

ppCodeModel
Object

[out] Pointer to the IUnknown of the code model.

Returns

If the method succeeds, it returns S_OK. If it fails, it returns an error code.

Applies to