VsShellUtilities::GetRunningDocumentContents Method (IServiceProvider^, String^)
Visual Studio 2015
Gets the text of the specified file, if it exists in the running document table.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- site
- Type: System::IServiceProvider^
- path
-
Type:
System::String^
The absolute path of the file.
Show: