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 方法。

注意

當您從集合中移除專案時,集合中後續專案的索引值會變更。

適用於

另請參閱