LanguageService::OpenDocument Method (String^)
Visual Studio 2015
Opens the specified file.
Assembly: Microsoft.VisualStudio.Package.LanguageService.14.0 (in Microsoft.VisualStudio.Package.LanguageService.14.0.dll)
Parameters
- path
-
Type:
System::String^
[in] The specified file to open.
A language service typically does not need to open a source file so this method is seldom used. However, you can call this method to open a source file if your language service requires that functionality. Visual Studio normally loads a source file then instantiates your language service as needed.
The base method loads the specified source file using the current project.
Show: