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
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.