StyleCollection.RemoveAt(Int32) 方法   
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
从 Style 对象中移除指定索引位置的 StyleCollection 对象。
public:
 void RemoveAt(int index);public void RemoveAt (int index);member this.RemoveAt : int -> unitPublic Sub RemoveAt (index As Integer)参数
注解
使用 RemoveAt 方法 Style 从对象中移除指定索引位置处的对象 StyleCollection 。 然后,该对象之后的所有项 Style 都将被移动以填充空白位置。 已移动项的索引也会更新。
若要 Style 从对象中删除特定对象 StyleCollection ,请使用 Remove 方法。 你还可以 Style 使用方法删除集合中的每个 Clear 对象。