DesignerAutoFormatCollection.Insert(Int32, DesignerAutoFormat) 메서드

정의

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

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

매개 변수

index
Int32

컬렉션에서 format을 삽입할 인덱스(0부터 시작)입니다.

format
DesignerAutoFormat

컬렉션에 삽입할 DesignerAutoFormat입니다.

예외

index가 0보다 작은 경우

또는

indexCount 속성보다 큰 경우

설명

Insert 메서드를 추가 DesignerAutoFormat 특정 인덱스에 있는 컬렉션 개체입니다. 단일 추가할 DesignerAutoFormat 컬렉션의 끝을 사용 합니다 Add 메서드.

참고

컬렉션에 항목을 삽입할 때 컬렉션의 후속 항목에 대 한 인덱스 값이 변경 합니다.

적용 대상

추가 정보