语言

ReadOnlyList<T>(IList<T>) 构造函数

定义

初始化一个新实例,IList<T>该实例ReadOnlyList<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>要包装在只读接口中的对象

注解

null如果是list,则被视为空列表。

适用于