다음을 통해 공유


List.Item<'T> 속성(F#)

목록의 지정된 위치에서 요소를 가져옵니다.

네임스페이스/모듈 경로:: Microsoft.FSharp.Collections

어셈블리: FSharp.Core(FSharp.Core.dll)

// Signature:
member this.Item (int) :  'T

// Usage:
list.[index]

매개 변수

  • index
    형식: int

    인덱스입니다.

반환 값

지정된 인덱스의 값입니다.

설명

목록이 연결된 목록으로 표현되므로 이는 O(n) 연산입니다.

플랫폼

Windows 7, Windows Vista SP2, Windows XP SP3, Windows XP x64 SP2, Windows Server 2008 R2, Windows Server 2008 SP2, Windows Server 2003 SP2

버전 정보

F# 런타임

지원되는 버전: 2.0, 4.0

Silverlight

지원되는 버전: 3

참고 항목

참조

Collections.List<'T> 공용 구조체(F#)

Microsoft.FSharp.Collections 네임스페이스(F#)