Udostępnij za pośrednictwem


WeakCollection<T>.ToList Method

Definition

Gets a list containing strong references to the items in this collection.

public:
 System::Collections::Generic::IList<T> ^ ToList();
public System.Collections.Generic.IList<T> ToList ();
member this.ToList : unit -> System.Collections.Generic.IList<'T (requires 'T : null)>
Public Function ToList () As IList(Of T)

Returns

IList<T>

A list containing strong references to items in this collection.

Applies to