SubMenuStyleCollection.RemoveAt(Int32) 方法

定义

SubMenuStyle删除位于指定位置的对象。

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

参数

index
Int32

要从集合中移除的对象从零开始的索引位置 SubMenuStyle

例外

index 小于零。

-或-

index 等于或大于 Count

注解

OnRemove在从集合中删除对象之前SubMenuStyle调用该方法,并在OnRemoveCompleteSubMenuStyleCollection集合中删除对象后调用该方法。

适用于

另请参阅