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
- 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.