Share via


UIElementWeakCollection.InsertAt(UInt32, UIElement) 메서드

정의

지정된 인덱스에 지정된 항목을 삽입합니다.

public:
 virtual void InsertAt(unsigned int index, UIElement ^ value) = IVector<UIElement ^>::InsertAt;
void InsertAt(uint32_t const& index, UIElement const& value);
public void InsertAt(uint index, UIElement value);
function insertAt(index, value)
Public Sub InsertAt (index As UInteger, value As UIElement)

매개 변수

index
UInt32

unsigned int

uint32_t

항목을 삽입할 0부터 시작하는 인덱스입니다.

value
UIElement

컬렉션에 삽입할 개체입니다.

구현

M:Windows.Foundation.Collections.IVector1.InsertAt(System.UInt32,0) M:Windows.Foundation.Collections.IVector1.InsertAt(unsigned int,0) M:Windows.Foundation.Collections.IVector1.InsertAt(uint32_t,0)

설명

InsertAt는 컬렉션을 확장하고 모든 후속 인덱스 항목을 하나씩 이동합니다.

반면 SetAt는 인덱스의 항목을 대체하고 컬렉션 수는 동일하게 유지됩니다.

적용 대상