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 인덱스 위치(0부터 시작)입니다.

예외

컬렉션이 SubMenuStyleCollection 읽기 전용입니다.

index가 0보다 작습니다.

-또는-

index가 .보다 크거나 같은 경우 Count

설명

OnRemove 개체가 컬렉션에서 제거되기 전에 SubMenuStyle 메서드가 호출되고 OnRemoveComplete 개체가 컬렉션에서 제거된 후 메서드가 SubMenuStyleCollection 호출됩니다.

적용 대상

추가 정보