Delen via


DisposableCollection<T> Constructor

Namespace:  Microsoft.TeamFoundation.Framework.Server
Assembly:  Microsoft.TeamFoundation.Framework.Server (in Microsoft.TeamFoundation.Framework.Server.dll)

Syntax

'Declaration
Public Sub New ( _
    elements As List(Of T), _
    ParamArray disposableObjects As IDisposable() _
)
public DisposableCollection(
    List<T> elements,
    params IDisposable[] disposableObjects
)
public:
DisposableCollection(
    List<T>^ elements, 
    ... array<IDisposable^>^ disposableObjects
)
new : 
        elements:List<'T> * 
        disposableObjects:IDisposable[] -> DisposableCollection
public function DisposableCollection(
    elements : List<T>, 
    ... disposableObjects : IDisposable[]
)

Parameters

.NET Framework Security

See Also

Reference

DisposableCollection<T> Class

Microsoft.TeamFoundation.Framework.Server Namespace