Compartilhar via


IVsIntellisenseProject.GetFileCodeModel(Object, Object, Object) Method

Definition

Retrieves the code model for a file specified by project and item.

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

Parameters

pProj
Object

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

pProjectItem
Object

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

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