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보다 작습니다.

-또는-

index가 속성보다 큰 경우 Count

설명

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

메모

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

적용 대상

추가 정보