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.