Compartilhar via


Subdocuments Object Members

Word Developer Reference

A collection of Subdocument objects that represent the subdocuments in a range or document.

Methods

  Name Description
Bb257950.methods(en-us,office.12).gif AddFromFile Adds the specified subdocument to the master document at the start of the selection and returns a Subdocument object.
Bb257950.methods(en-us,office.12).gif AddFromRange Creates one or more subdocuments from the text in the specified range and returns a SubDocument object.
Bb257950.methods(en-us,office.12).gif Delete Deletes the collection of subdocuments.
Bb257950.methods(en-us,office.12).gif Item Returns an individual Subdocument object in a collection.
Bb257950.methods(en-us,office.12).gif Merge Merges the specified subdocuments of a master document into a single subdocument.
Bb257950.methods(en-us,office.12).gif Select Selects the specified subdocument.

Properties

  Name Description
Bb257950.properties(en-us,office.12).gif Application Returns an Application object that represents the Microsoft Word application.
Bb257950.properties(en-us,office.12).gif Count Returns a Long that represents the number of subdocuments in the collection. Read-only.
Bb257950.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.
Bb257950.properties(en-us,office.12).gif Expanded True if the subdocuments in the specified document are expanded. Read/write Boolean.
Bb257950.properties(en-us,office.12).gif Parent Returns an Object that represents the parent object of the specified Subdocuments object.