Partager via


Sections Interface

A collection of Section objects in a selection, range, or document.

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

Syntax

'Declaration
<GuidAttribute("0002095A-0000-0000-C000-000000000046")> _
Public Interface Sections _
    Inherits IEnumerable
'Usage
Dim instance As Sections
[GuidAttribute("0002095A-0000-0000-C000-000000000046")]
public interface Sections : IEnumerable

Remarks

Use the Sections property of a Selection, Range, or Document object to return the Sections collection.

Use the Add method or the InsertBreak method to add a new section to a document.

Use Sections(index), where index is the index number, to return a single Section object.

See Also

Reference

Sections Members

Microsoft.Office.Interop.Word Namespace