IVsIntellisenseProject::GetFileCodeModel Method (Object^, Object^, Object^)

 

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

Namespace:   Microsoft.VisualStudio.Shell.Interop
Assembly:  Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)

int GetFileCodeModel(
	Object^ pProj,
	Object^ pProjectItem,
	[OutAttribute] Object^% ppCodeModel
)

Parameters

pProj
Type: System::Object^

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

pProjectItem
Type: System::Object^

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

ppCodeModel
Type: System::Object^

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

Return Value

Type: System::Int32

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

Return to top
Show: