Share via


RunningDocumentTable Members

Include Protected Members
Include Inherited Members

Provides access to the Running Document Table (RDT) that tracks all currently opened documents in Visual Studio.

The RunningDocumentTable type exposes the following members.

Constructors

 

Name

Description

Public method

RunningDocumentTable

Initializes a new instance of the RunningDocumentTable class.

Top

Methods

 

Name

Description

Public method

Advise

Enables the client to receive events about changes to the Running Document Table (RDT).

Public method

Equals

Determines whether the specified Object is equal to the current Object. (Inherited from Object.)

Protected method

Finalize

Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)

Public method

FindDocument

Overloaded. Gets information about a specific document from the Running Document Table (RDT).

Public method

GetDocumentInfo

Gets information about a document registered in the Running Document Table, given the identifier of the document.

Public method

GetEnumerator

Gets an enumerator of the documents in the Running Document Table.

Public method

GetHashCode

Serves as a hash function for a particular type. (Inherited from Object.)

Public method

GetHierarchyItem

Gets the project that owns the specified document.

Public method

GetRunningDocumentContents

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

Public method

GetType

Gets the type of the current instance. (Inherited from Object.)

Public method

LockDocument

Gets a read or edit lock on the specified document.

Protected method

MemberwiseClone

Creates a shallow copy of the current Object. (Inherited from Object.)

Public method

RegisterAndLockDocument

Creates an entry in the running document table when a document is created or opened.

Public method

RenameDocument

Renames a document and optionally gives ownership of the document to the specified project.

Public method

SaveFileIfDirty

Saves the specified file if it has changed since the last save.

Public method

ToString

Returns a string that represents the current object. (Inherited from Object.)

Public method

Unadvise

Indicates the client is no longer interested in receiving Running Document Table (RDT) events.

Public method

UnlockDocument

Releases a read or edit lock on the open document.

Top

Explicit Interface Implementations

 

Name

Description

Explicit interface implemetationPrivate method

IEnumerable.GetEnumerator

Enumerates the documents in the Running Document Table.

Top

See Also

Reference

RunningDocumentTable Class

Microsoft.VisualStudio.Shell Namespace