共用方式為


ObservableCollectionListSource<T>.IListSource.GetList 方法

定義

IBindingList 回與這個 ObservableCollection<T> 保持同步的實作。 傳回的清單會在這個物件上快取,如此每次呼叫此方法時都會傳回相同的清單。

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

傳回

IBindingList ObservableCollection 同步的 。

實作

屬性

適用於