Compartir a través de


WeakCollection<T>.ToList Method

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

Namespace:  Microsoft.VisualStudio.PlatformUI
Assembly:  Microsoft.VisualStudio.Shell.12.0 (in Microsoft.VisualStudio.Shell.12.0.dll)

Syntax

'Declaration
Public Function ToList As IList(Of T)
public IList<T> ToList()
public:
IList<T>^ ToList()
member ToList : unit -> IList<'T> 
public function ToList() : IList<T>

Return Value

Type: IList<T>
Returns a list containing strong references to the items in this collection.

.NET Framework Security

See Also

Reference

WeakCollection<T> Class

Microsoft.VisualStudio.PlatformUI Namespace