IBindableObservableVector 인터페이스

정의

변경 알림에 대해 VectorChanged 이벤트를 추가하여 IBindableVector를 확장합니다.

public interface class IBindableObservableVector : IBindableVector
/// [Windows.Foundation.Metadata.ContractVersion(Microsoft.UI.Xaml.WinUIContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(4263425334, 32383, 20368, 172, 154, 71, 73, 132, 170, 229, 18)]
struct IBindableObservableVector : IBindableVector
[Windows.Foundation.Metadata.ContractVersion(typeof(Microsoft.UI.Xaml.WinUIContract), 65536)]
[Windows.Foundation.Metadata.Guid(4263425334, 32383, 20368, 172, 154, 71, 73, 132, 170, 229, 18)]
public interface IBindableObservableVector : IBindableVector
Public Interface IBindableObservableVector
Implements IList
특성
구현

설명

이 인터페이스는 C++에서 데이터 바인딩 가능한 컬렉션 만들기를 지원합니다. .NET을 사용하여 프로그래밍할 때 ObservableCollection(Of T) 을 사용하거나 IListINotifyCollectionChanged를 구현해야 합니다. 자세한 내용은 컬렉션에 바인딩을 참조하세요.

인터페이스 상속

IBindableObservableVector는 IBindableVectorIBindableIterable을 상속합니다. IBindableObservableVector를 구현하는 형식은 C++ 사용의 경우 IBindableVectorIBindableIterable 의 인터페이스 멤버 또는 Microsoft .NET 사용의 경우 IListIEnumerable 을 구현합니다.

속성

Size

벡터의 항목 수를 가져옵니다.

(다음에서 상속됨 IBindableVector)

메서드

Append(Object)

항목을 벡터 끝에 추가합니다.

(다음에서 상속됨 IBindableVector)
Clear()

벡터에서 모든 항목을 제거합니다.

(다음에서 상속됨 IBindableVector)
First()

컬렉션의 항목을 반복하는 바인딩 가능한 반복기를 반환합니다.

(다음에서 상속됨 IBindableIterable)
GetAt(UInt32)

벡터의 지정된 인덱스에서 항목을 반환합니다.

(다음에서 상속됨 IBindableVector)
GetView()

벡터의 변경할 수 없는 보기를 반환합니다.

(다음에서 상속됨 IBindableVector)
IndexOf(Object, UInt32)

벡터에서 지정된 항목의 인덱스 를 반환합니다.

(다음에서 상속됨 IBindableVector)
InsertAt(UInt32, Object)

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

(다음에서 상속됨 IBindableVector)
RemoveAt(UInt32)

벡터의 지정된 인덱스에 있는 항목을 제거합니다.

(다음에서 상속됨 IBindableVector)
RemoveAtEnd()

벡터의 마지막 항목을 제거합니다.

(다음에서 상속됨 IBindableVector)
SetAt(UInt32, Object)

벡터의 지정된 인덱스에서 항목 값을 설정합니다.

(다음에서 상속됨 IBindableVector)

이벤트

VectorChanged

벡터 컬렉션이 변경되면 발생합니다(추가, 삭제, 항목 변경).

적용 대상

추가 정보