ReadOnlyList<T>(IList<T>) Constructor

Definition

Initializes a new instance of ReadOnlyList<T> that wraps the specified IList<T> in a read-only interface.

public ReadOnlyList (System.Collections.Generic.IList<T> list);
new Microsoft.SqlServer.Management.Sdk.Sfc.ReadOnlyList<'T> : System.Collections.Generic.IList<'T> -> Microsoft.SqlServer.Management.Sdk.Sfc.ReadOnlyList<'T>
Public Sub New (list As IList(Of T))

Parameters

list
IList<T>

A IList<T> object to be wrapped in read-only interface

Remarks

If list is null, it is treated as an empty list.

Applies to