IBindableObservableVector Interface
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Extends IBindableVector by adding a VectorChanged event for change notification.
public interface class IBindableObservableVector : IBindableVector
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(4263425334, 32383, 20368, 172, 154, 71, 73, 132, 170, 229, 18)]
struct IBindableObservableVector : IBindableVector
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(4263425334, 32383, 20368, 172, 154, 71, 73, 132, 170, 229, 18)]
public interface IBindableObservableVector : IList
Public Interface IBindableObservableVector
Implements IList
- Attributes
- Implements
Windows requirements
Device family |
Windows 10 (introduced in 10.0.10240.0)
|
API contract |
Windows.Foundation.UniversalApiContract (introduced in v1.0)
|
Remarks
This interface supports the creation of data bindable collections in C++. When programming with .NET, you should use ObservableCollection(Of T) or implement IList and INotifyCollectionChanged. For more info, see Binding to collections.
Interface inheritance
IBindableObservableVector inherits IBindableVector and IBindableIterable. Types that implement IBindableObservableVector also implement the interface members of IBindableVector and IBindableIterable for C++ usage, or IList and IEnumerable for Microsoft .NET usage.
Events
VectorChanged |
Occurs when the vector collection changes (add, delete, item change). |
Applies to
See also
Váš názor
https://aka.ms/ContentUserFeedback.
Připravujeme: V průběhu roku 2024 budeme postupně vyřazovat problémy z GitHub coby mechanismus zpětné vazby pro obsah a nahrazovat ho novým systémem zpětné vazby. Další informace naleznete v tématu:Odeslat a zobrazit názory pro