FileDocumentManager Members

Handles the opening and saving of files in the project hierarchy. It is a file-specific implementation of DocumentManager.

The FileDocumentManager type exposes the following members.

Constructors

  Name Description
Public method FileDocumentManager Initializes a new instance of [FileDocumentManager] for a given file node.

Top

Methods

  Name Description
Public method Close Closes an open document window. (Inherited from DocumentManager.)
Protected method CloseWindowFrame Closes the window frame. (Inherited from DocumentManager.)
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection. (Inherited from Object.)
Protected method GetFullPathForDocument Gets the full path of the document. (Inherited from DocumentManager.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Protected method GetOwnerCaption Gets the caption belonging to the root node. (Inherited from DocumentManager.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method Open Overloaded. Opens the file.
Public method OpenWithSpecific Opens a file with a specific editor, specifying how it is to be opened, the physical and logical views to open it in, the existing document data, and which UI action should be taken on the window frame. (Overrides DocumentManager.OpenWithSpecific(UInt32, Guid%, String, Guid%, IntPtr, IVsWindowFrame%, WindowFrameShowAction).)
Public method Save Silently saves an open document. (Inherited from DocumentManager.)
Public method ToString Returns a String that represents the current Object. (Inherited from Object.)

Top

Properties

  Name Description
Protected property Node Gets the node used to create the manager. (Inherited from DocumentManager.)

Top

See Also

Reference

FileDocumentManager Class

Microsoft.VisualStudio.Package Namespace