RepeatingSectionItem.InsertItemBefore Method

Definition

Adds a repeating section item before the specified item and returns the new item.

public:
 Microsoft::Office::Interop::Word::RepeatingSectionItem ^ InsertItemBefore();
public Microsoft.Office.Interop.Word.RepeatingSectionItem InsertItemBefore ();
abstract member InsertItemBefore : unit -> Microsoft.Office.Interop.Word.RepeatingSectionItem
Public Function InsertItemBefore () As RepeatingSectionItem

Returns

Remarks

You can call this method on repeating section item content controls only.

If the AllowInsertDeleteSection property is set to False, this method will return an error.

Applies to