다음을 통해 공유


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 네임스페이스