共用方式為


RunningDocumentTable.GetRunningDocumentContents Method

Include Protected Members
Include Inherited Members

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

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

RunningDocumentTable Members

Microsoft.VisualStudio.Shell Namespace