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 | |
---|---|---|
CloseFrame | Closes the frame. | |
CloseOpenDocument | Verifies that a file is closed before opening the T-SQL editor. | |
GetActiveDocument | Returns either the currently-active document or an empty string. | |
GetDocData | Returns the DocData object from the RDT for the specified full path filename. | |
GetMkDocument | Returns the document moniker for the specified frame. | |
GetRunningDocumentTable | Returns this Running Document Table. | |
GetRunningDocumentTable2 | Returns this Running Document Table, which contains additional information. | |
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. | |
GetWindowDocView | Overloaded. Returns the document view for the document in the RDT. | |
GetWindowFrame | Returns the window frame for the document window. | |
IsDirty | Returns whether the document is dirty. | |
IsFileInRdt | Returns whether a given file is in the RDT. | |
NotifyDocChanged | Sets the notification that a specified file has been changed. | |
ReadFromFile | Returns string content of a file. | |
ResetMkDocument | Resets the document moniker by accessing the RDT. | |
SaveDirtyFile | Saves the file if it is in the RDT and is dirty | |
SaveDirtyFiles | Overloaded. Saves a list of dirty files. | |
SetDocumentSaveNotSupported | Specifies that save is not supported for this document. | |
ShowFrame | Brings the editor attached to the filename to the front. | |
TryGetCodeWindow | Obtains the IVsCodeWindow for the document full path. | |
TryGetDocDataFromCookie | Obtains the DocData for this cookie on the RDT. | |
TryGetHierarchyFromName | Obtains the hierarchy and item ID for this file on the RDT. | |
TryGetTextLinesAndInvisibleEditor | Opens the file in the invisible editor in the RDT and gets the text buffer from it. | |
TrySetDocDataDirty | Sets the document data as dirty. | |
WriteToFile | Overloaded. Refreshes file content. |
Top
See Also
Reference
Microsoft.VisualStudio.Data.Schema.Project.Project Namespace