共用方式為


WeakCollection<T>.ToList Method

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

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

Syntax

'宣告
Public Function ToList As IList(Of T)
public IList<T> ToList()

Return Value

Type: System.Collections.Generic.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