TextElementCollection<TextElementType>.InsertAfter 메서드

정의

컬렉션에서 지정된 항목을 지정된 컬렉션 항목 뒤에 삽입합니다.

public:
 void InsertAfter(TextElementType previousSibling, TextElementType newItem);
public void InsertAfter (TextElementType previousSibling, TextElementType newItem);
member this.InsertAfter : 'extElementType * 'extElementType -> unit
Public Sub InsertAfter (previousSibling As TextElementType, newItem As TextElementType)

매개 변수

previousSibling
TextElementType

컬렉션에서 삽입될 새 항목 앞에 위치할 항목입니다.

newItem
TextElementType

컬렉션에 삽입할 항목입니다.

예외

newItem 이 이미 컬렉션에 속해 있는 경우

previousSibling 또는 newItemnull 인 경우

previousSibling 이 이 컬렉션에 속하지 않는 경우

적용 대상