共用方式為


RunningDocumentTable.GetRunningDocumentContents Method

Include Protected Members
Include Inherited Members

Gets the contents of a specified document from the Running Document Table (RDT).

This member is overloaded. For complete information about this member, including syntax, usage, and examples, click a name in the overload list.

Overload List

  Name Description
Public method GetRunningDocumentContents(String) Uses the Running Document Table (RDT) to obtain the contents of a document given the path to the document.
Public method GetRunningDocumentContents(UInt32) Uses the Running Document Table (RDT) to obtain the contents of a document given the path to the document.

Top

Remarks

These methods return the entire contents of the specified document, using either a path to the document or the Running Document Table's cookie for the document.

See Also

Reference

RunningDocumentTable Class

Microsoft.VisualStudio.Shell Namespace