Преобразование ReadOnlyList<T> Implicit (array<T to ReadOnlyList<T>)

Returns an implicit conversion from an array to a list.

Пространство имен:  Microsoft.SqlServer.Management.Sdk.Sfc
Сборка:  Microsoft.SqlServer.Management.Sdk.Sfc (в Microsoft.SqlServer.Management.Sdk.Sfc.dll)

Синтаксис

'Декларация
Public Shared Widening Operator CType ( _
    array As T() _
) As ReadOnlyList(Of T)
'Применение
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 поддерживает использование пользовательских приведений, но не объявление новых.

Параметры

  • array
    Тип: array<T[]
    The array to convert.

Возвращаемое значение

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

См. также

Справочник

ReadOnlyList<T> Структура

Перегрузка Implicit

Пространство имен Microsoft.SqlServer.Management.Sdk.Sfc