Partager via


ObservableCollectionListSource<T>.IListSource.GetList Méthode

Définition

Retourne une IBindingList implémentation qui reste synchronisée avec ce ObservableCollection<T>. La liste retournée est mise en cache sur cet objet de sorte que la même liste est retournée chaque fois que cette méthode est appelée.

System.Collections.IList IListSource.GetList ();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("BindingList raises ListChanged events with PropertyDescriptors. PropertyDescriptors require unreferenced code.")]
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL2046", Justification="This method is an interface implementation, and the interface method isn't annotated with RequiresUnreferencedCode. The entire type is marked with RequiresUnreferencedCode.")]
System.Collections.IList IListSource.GetList ();
[System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("BindingList raises ListChanged events with PropertyDescriptors. PropertyDescriptors require unreferenced code.")]
[System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL2046", Justification="This method is an interface implementation, and the interface method isn't annotated with RequiresUnreferencedCode. The entire type is marked with RequiresUnreferencedCode.")]
[System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Requires calling MakeGenericType on the property descriptor's type")]
System.Collections.IList IListSource.GetList ();
abstract member System.ComponentModel.IListSource.GetList : unit -> System.Collections.IList
override this.System.ComponentModel.IListSource.GetList : unit -> System.Collections.IList
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("BindingList raises ListChanged events with PropertyDescriptors. PropertyDescriptors require unreferenced code.")>]
[<System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL2046", Justification="This method is an interface implementation, and the interface method isn't annotated with RequiresUnreferencedCode. The entire type is marked with RequiresUnreferencedCode.")>]
abstract member System.ComponentModel.IListSource.GetList : unit -> System.Collections.IList
override this.System.ComponentModel.IListSource.GetList : unit -> System.Collections.IList
[<System.Diagnostics.CodeAnalysis.RequiresUnreferencedCode("BindingList raises ListChanged events with PropertyDescriptors. PropertyDescriptors require unreferenced code.")>]
[<System.Diagnostics.CodeAnalysis.UnconditionalSuppressMessage("ReflectionAnalysis", "IL2046", Justification="This method is an interface implementation, and the interface method isn't annotated with RequiresUnreferencedCode. The entire type is marked with RequiresUnreferencedCode.")>]
[<System.Diagnostics.CodeAnalysis.RequiresDynamicCode("Requires calling MakeGenericType on the property descriptor's type")>]
abstract member System.ComponentModel.IListSource.GetList : unit -> System.Collections.IList
override this.System.ComponentModel.IListSource.GetList : unit -> System.Collections.IList
Function GetList () As IList Implements IListSource.GetList

Retours

synchronisé IBindingList avec ObservableCollection.

Implémente

Attributs

S’applique à