ObservableCollectionListSource<T>.IListSource.GetList Método

Definición

Devuelve una IBindingList implementación que permanece sincronizada con este ObservableCollection<T>objeto . La lista devuelta se almacena en caché en este objeto de forma que se devuelve la misma lista cada vez que se llama a este método.

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

Devoluciones

Un IBindingList objeto en sincronización con ObservableCollection.

Implementaciones

Atributos

Se aplica a