Conversion ReadOnlyList<T> Implicit (array<T to ReadOnlyList<T>)
Returns an implicit conversion from an array to a 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 Shared Widening Operator CType ( _
array As T() _
) As ReadOnlyList(Of T)
'Utilisation
Dim input As T()
Dim output As ReadOnlyList(Of T)
output = CType(input, ReadOnlyList(Of T))
public static implicit operator ReadOnlyList<T> (
T[] array
)
static implicit operator ReadOnlyList<T> (
array<T>^ array
)
JScript prend en charge l'utilisation de conversions personnalisées, mais pas la déclaration de nouvelles conversions.
Paramètres
- array
Type : array<T[]
The array to convert.
Valeur de retour
Type : Microsoft.SqlServer.Management.Sdk.Sfc.ReadOnlyList<T>
A list that wraps the specified array.