Share via


ReadOnlyList<T> Constructor

Initializes a new instance of the ReadOnlyList<T> class with the specified list.

Namespace:  Microsoft.SqlServer.Management.Sdk.Sfc
Assembly:  Microsoft.SqlServer.Management.Sdk.Sfc (in Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Syntax

'Declaration
Public Sub New ( _
    list As IList(Of T) _
)
'Usage
Dim list As IList(Of T)

Dim instance As New ReadOnlyList(list)
public ReadOnlyList(
    IList<T> list
)
public:
ReadOnlyList(
    IList<T>^ list
)
new : 
        list:IList<'T> -> ReadOnlyList
public function ReadOnlyList(
    list : IList<T>
)

Parameters

See Also

Reference

ReadOnlyList<T> Structure

Microsoft.SqlServer.Management.Sdk.Sfc Namespace