DesignerRegionCollection.RemoveAt(Int32) 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
移除位於集合中指定索引上的 DesignerRegion 物件。
public:
void RemoveAt(int index);
public void RemoveAt (int index);
member this.RemoveAt : int -> unit
Public Sub RemoveAt (index As Integer)
參數
- index
- Int32
DesignerRegion 的集合內要移除之以零起始的索引。
例外狀況
備註
您 RemoveAt 可以使用方法,從集合中移除特定索引處的區域。 若要從集合中移除指定的區域,請使用 Remove 方法。 若要從集合中移除所有區域,請使用 Clear 方法。
注意
當您從集合中移除專案時,索引會針對集合中的後續專案進行變更。