Compartir a través de


ReadOnlyList<T> Implicit Conversión (array<T to ReadOnlyList<T>)

Returns an implicit conversion from an array to a list.

Espacio de nombres:  Microsoft.SqlServer.Management.Sdk.Sfc
Ensamblado:  Microsoft.SqlServer.Management.Sdk.Sfc (en Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Sintaxis

'Declaración
Public Shared Widening Operator CType ( _
    array As T() _
) As ReadOnlyList(Of T)
'Uso
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 admite el uso de conversiones personalizadas, pero no la declaración de otras nuevas.

Parámetros

  • array
    Tipo: array<T[]
    The array to convert.

Valor devuelto

Tipo: Microsoft.SqlServer.Management.Sdk.Sfc.ReadOnlyList<T>
A list that wraps the specified array.

Vea también

Referencia

ReadOnlyList<T> Estructura

Sobrecarga de Implicit

Espacio de nombres Microsoft.SqlServer.Management.Sdk.Sfc