RdtManager Members

Include Protected Members
Include Inherited Members

Manages the interaction with the Running Document Table (RDT) for any part of the system that needs such services.

The RdtManager type exposes the following members.

Methods

  Name Description
Public methodStatic member CloseFrame Closes the frame.
Public methodStatic member CloseOpenDocument Verifies that a file is closed before opening the T-SQL editor.
Public methodStatic member GetActiveDocument Returns either the currently-active document or an empty string.
Public methodStatic member GetDocData Returns the DocData object from the RDT for the specified full path filename.
Public methodStatic member GetMkDocument Returns the document moniker for the specified frame.
Public methodStatic member GetRunningDocumentTable Returns this Running Document Table.
Public methodStatic member GetRunningDocumentTable2 Returns this Running Document Table, which contains additional information.
Public methodStatic member GetTextLines Returns an IVsTextLines from a file. If that file is in the RDT, get the text buffer from it. If the file is not in the RDT, open the file in the invisible editor and get the text buffer from it. If getting text buffer fails, return null.
Public methodStatic member GetWindowDocView Overloaded. Returns the document view for the document in the RDT.
Public methodStatic member GetWindowFrame Returns the window frame for the document window.
Public methodStatic member IsDirty Returns whether the document is dirty.
Public methodStatic member IsFileInRdt Returns whether a given file is in the RDT.
Public methodStatic member NotifyDocChanged Sets the notification that a specified file has been changed.
Public methodStatic member ReadFromFile Returns string content of a file.
Public methodStatic member ResetMkDocument Resets the document moniker by accessing the RDT.
Public methodStatic member SaveDirtyFile Saves the file if it is in the RDT and is dirty
Public methodStatic member SaveDirtyFiles Overloaded. Saves a list of dirty files.
Public methodStatic member SetDocumentSaveNotSupported Specifies that save is not supported for this document.
Public methodStatic member ShowFrame Brings the editor attached to the filename to the front.
Public methodStatic member TryGetCodeWindow Obtains the IVsCodeWindow for the document full path.
Public methodStatic member TryGetDocDataFromCookie Obtains the DocData for this cookie on the RDT.
Public methodStatic member TryGetHierarchyFromName Obtains the hierarchy and item ID for this file on the RDT.
Public methodStatic member TryGetTextLinesAndInvisibleEditor Opens the file in the invisible editor in the RDT and gets the text buffer from it.
Public methodStatic member TrySetDocDataDirty Sets the document data as dirty.
Public methodStatic member WriteToFile Overloaded. Refreshes file content.

Top

See Also

Reference

RdtManager Class

Microsoft.VisualStudio.Data.Schema.Project.Project Namespace