RunningDocumentTable::GetRunningDocumentContents Method (String^)
Visual Studio 2015
Uses the Running Document Table (RDT) to obtain the contents of a document given the path to the document.
Assembly: Microsoft.VisualStudio.Shell.14.0 (in Microsoft.VisualStudio.Shell.14.0.dll)
Parameters
- path
-
Type:
System::String^
[in] Path to the desired document.
Return Value
Type: System::String^The contents of the document in a string format, or null if the document is not registered with the RDT.
If a null value is returned, the document is either not registered with the RDT or the document is something that does not contain any text.
Show: