Share via


DependencyObjectCollection.InsertAt(UInt32, DependencyObject) 메서드

정의

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

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

매개 변수

index
UInt32

unsigned int

uint32_t

값을 설정할 인덱스입니다.

value
DependencyObject

설정할 값입니다.

구현

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 은 인덱스의 항목을 대체하고 컬렉션 수는 동일하게 유지됩니다.

참고

해당하는 Microsoft .NET API는 입니다 Insert.

적용 대상