DesignerAutoFormatCollection.Insert(Int32, DesignerAutoFormat) 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
将 DesignerAutoFormat 对象插入到集合中的指定索引处。
public:
void Insert(int index, System::Web::UI::Design::DesignerAutoFormat ^ format);
public void Insert (int index, System.Web.UI.Design.DesignerAutoFormat format);
member this.Insert : int * System.Web.UI.Design.DesignerAutoFormat -> unit
Public Sub Insert (index As Integer, format As DesignerAutoFormat)
参数
- index
- Int32
要插入 format
的位置在集合中从零开始的索引。
- format
- DesignerAutoFormat
要插入到集合中的 DesignerAutoFormat。
例外
注解
该方法 Insert 将对象添加到 DesignerAutoFormat 集合中的特定索引位置。 若要将单个 DesignerAutoFormat 添加到集合末尾,请使用 Add 该方法。
备注
在集合中插入项时,索引值将更改集合中的后续项。