Share via


Subdocument Interface

Represents a subdocument within a document or range.

Namespace:  Microsoft.Office.Interop.Word
Assembly:  Microsoft.Office.Interop.Word (in Microsoft.Office.Interop.Word.dll)

Syntax

'Declaration
<GuidAttribute("00020989-0000-0000-C000-000000000046")> _
Public Interface Subdocument
'Usage
Dim instance As Subdocument
[GuidAttribute("00020989-0000-0000-C000-000000000046")]
public interface Subdocument

Remarks

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

Use Subdocuments(index), where index is the index number, to return a single Subdocument object.

Use the AddFromFile or AddFromRange method to add a subdocument to a document.

See Also

Reference

Subdocument Members

Microsoft.Office.Interop.Word Namespace