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.