Initializes a new instance of the ReadOnlyList<T> class with the specified list.
命名空间: Microsoft.SqlServer.Management.Sdk.Sfc
程序集: Microsoft.SqlServer.Management.Sdk.Sfc(在 Microsoft.SqlServer.Management.Sdk.Sfc.dll 中)
语法
声明
Public Sub New ( _
list As IList(Of T) _
)
用法
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>
)
参数
- list
类型:System.Collections.Generic.IList<T>
A list to be wrapped in read-only interface.