Compartilhar via


RunningDocumentTable.FindDocument Method

Include Protected Members
Include Inherited Members

Gets information about a specific 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 FindDocument(String) Gets an object from the Running Document Table (RDT) that represents the document specified by the given path.
Public method FindDocument(String, UInt32%) Gets a cookie from the Running Document Table (RDT) that represents the document specified by the given path.
Public method FindDocument(String, IVsHierarchy%, UInt32%, UInt32%) Gets an object, cookie, and owning project type from the Running Document Table (RDT) for the document specified by the given path.

Top

Remarks

Given the path to the document file, the RDT can obtain information about that document such as the owning project or the cookie associated with the document. The RDT uses unique values called cookies to track each individual document.

See Also

Reference

RunningDocumentTable Class

Microsoft.VisualStudio.Shell Namespace