RepeatingSectionItem.InsertItemBefore 方法

定义

在指定项前面添加一个重复节项,并返回新项。

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

返回

注解

只能对重复节项内容控件调用此方法。

如果 属性 AllowInsertDeleteSection 设置为 False,则此方法将返回错误。

适用于