Document Properties

Include Protected Members
Include Inherited Members

The Document type exposes the following members.

Properties

  Name Description
Public property ActiveWindow Gets the currently active window, or the topmost window if no others are active. Returns Nothing if no windows are open.
Public property Collection Gets the collection containing the Document object.
Public property DTE Gets the top-level extensibility object.
Public property Extender Returns the requested Extender if it is available for this object.
Public property ExtenderCATID Gets the Extender category ID (CATID) for the object.
Public property ExtenderNames Gets a list of available Extenders for the object.
Public property FullName Gets the full path and name of the object's file.
Public property IndentSize Infrastructure. Microsoft Internal Use Only.
Public property Kind Gets a GUID string indicating the kind or type of the object.
Public property Language Infrastructure. Microsoft Internal Use Only.
Public property Name Gets the name of the Document.
Public property Path Gets the path, without file name, for the directory containing the document.
Public property ProjectItem Gets the ProjectItem object associated with the Document object.
Public property ReadOnly Infrastructure. Microsoft Internal Use Only.
Public property Saved Returns true if the object has not been modified since last being saved or opened.
Public property Selection Gets an object representing the current selection on the Document.
Public property TabSize Infrastructure. Microsoft Internal Use Only.
Public property Type Infrastructure. Microsoft Internal Use Only.
Public property Windows Gets a Windows collection containing the windows that display in the object.

Top

See Also

Reference

Document Interface

EnvDTE Namespace