ReadOnlyList<T>(IList<T>) 建構函式

定義

初始化一個新的實例 ReadOnlyList<T> ,將指定的 IList<T> 資料包裹在唯讀介面中。

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

參數

list
IList<T>

IList<T>一個要以唯讀介面包裝的物件

備註

listnull,則視為空清單。

適用於