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 方法。
Note
當你從收藏中移除項目時,收藏中後續項目的索引也會改變。