DesignerAutoFormatCollection.RemoveAt(Int32) 方法

定义

删除 DesignerAutoFormat 集合中指定索引处的对象。

public:
 void RemoveAt(int index);
public void RemoveAt(int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)

参数

index
Int32

要从集合中移除的从零开始的 DesignerAutoFormat 索引。

例外

index 小于零。

-或-

index 大于 Count 属性。

注解

RemoveAt使用该方法从集合中删除特定索引处的格式。 若要从集合中删除指定格式,请使用 Remove 该方法。 若要从集合中删除所有格式,请使用 Clear 该方法。

注释

从集合中删除项时,索引值将更改集合中的后续项。

适用于

另请参阅