Condividi tramite


ObservableCollectionListSource<T>.IListSource.GetList Metodo

Definizione

Restituisce un'implementazione IBindingList che rimane sincronizzata con questo ObservableCollection<T>oggetto . L'elenco restituito viene memorizzato nella cache in questo oggetto in modo che lo stesso elenco venga restituito ogni volta che viene chiamato questo metodo.

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

Restituisce

Oggetto IBindingList sincronizzato con ObservableCollection.

Implementazioni

Attributi

Si applica a