IVsIntellisenseProjectHost::CreateFileCodeModel Method (String^, Object^)
Visual Studio 2015
Retrieves the code model for a given file.
Assembly: Microsoft.VisualStudio.Shell.Interop.8.0 (in Microsoft.VisualStudio.Shell.Interop.8.0.dll)
Parameters
- pszFilename
-
Type:
System::String^
[in] String containing the name of the file.
- ppCodeModel
-
Type:
System::Object^
[out] Pointer to the IUnknown interface of an instance of the code model.
Return Value
Type: System::Int32If the method succeeds, it returns S_OK. If it fails, it returns an error code.
Intellisense projects (projects implementing IVsIntellisenseProject) call this method to get the code model for a given filename. Often this method retrieves the code model by calling the GetFileCodeModel method of the IVsIntellisenseProject interface.
Show: