MenuItemStyleCollection.Insert(Int32, MenuItemStyle) 메서드
정의
중요
일부 정보는 릴리스되기 전에 상당 부분 수정될 수 있는 시험판 제품과 관련이 있습니다. Microsoft는 여기에 제공된 정보에 대해 어떠한 명시적이거나 묵시적인 보증도 하지 않습니다.
지정된 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 컬렉션의 끝에 개체를 추가할 수 있습니다.