MenuItemStyleCollection.Insert(Int32, MenuItemStyle) 메서드

정의

지정된 MenuItemStyle 인덱스 위치의 컬렉션에 지정된 개체를 삽입합니다.

public:
 void Insert(int index, System::Web::UI::WebControls::MenuItemStyle ^ style);
public void Insert(int index, System.Web.UI.WebControls.MenuItemStyle style);
member this.Insert : int * System.Web.UI.WebControls.MenuItemStyle -> unit
Public Sub Insert (index As Integer, style As MenuItemStyle)

매개 변수

index
Int32

를 삽입할 인덱스 위치(0부터 시작하는 위치)입니다 MenuItemStyle.

style
MenuItemStyle

삽입할 항목입니다 MenuItemStyle .

설명

Insert 지정된 0부터 시작하는 인덱스에서 지정된 MenuItemStyle 개체를 컬렉션에 삽입하려면 이 메서드를 사용합니다.

또는 메서드를 MenuItemStyle 사용하여 Add 컬렉션의 끝에 개체를 추가할 수 있습니다.

적용 대상

추가 정보