Constructeur ReadOnlyList<T>
Initializes a new instance of the ReadOnlyList<T> class with the specified list.
Espace de noms : Microsoft.SqlServer.Management.Sdk.Sfc
Assembly : Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)
Syntaxe
'Déclaration
Public Sub New ( _
list As IList(Of T) _
)
'Utilisation
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>
)
Paramètres
- list
Type : System.Collections.Generic.IList<T>
A list to be wrapped in read-only interface.