Compartilhar via


Subdocument Object Members

Word Developer Reference

Represents a subdocument within a document or range. The Subdocument object is a member of the Subdocuments collection. The Subdocuments collection includes all the subdocuments in the a range or document.

Methods

  Name Description
Bb257949.methods(en-us,office.12).gif Delete Deletes the specified subdocument.
Bb257949.methods(en-us,office.12).gif Open Opens the specified subdocument. Returns a Document object that represents the opened subdocument.
Bb257949.methods(en-us,office.12).gif Split Divides an existing subdocument into two subdocuments at the same level in master document view or outline view.

Properties

  Name Description
Bb257949.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257949.properties(en-us,office.12).gif Creator Returns a 32-bit integer that indicates the application in which the specified object was created. Read-only Long.
Bb257949.properties(en-us,office.12).gif HasFile True if the specified subdocument has been saved to a file. Read-only Boolean.
Bb257949.properties(en-us,office.12).gif Level Returns the heading level used to create the subdocument. Read-only Long.
Bb257949.properties(en-us,office.12).gif Locked True if a subdocument in a master document is locked. Read/write Boolean.
Bb257949.properties(en-us,office.12).gif Name Returns the name of the specified object. Read-only String.
Bb257949.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Subdocument object.
Bb257949.properties(en-us,office.12).gif Path Returns the disk or Web path to the specified subdocument. Read-only String.
Bb257949.properties(en-us,office.12).gif Range Returns a Range object that represents the portion of a document that's contained within the subdocument.