Map.Item<'Key,'Value> 속성(F#)
맵의 요소를 조회합니다. 맵에 바인딩이 없으면 KeyNotFoundException이 발생합니다.
네임스페이스/모듈 경로:: Microsoft.FSharp.Collections
어셈블리: FSharp.Core(FSharp.Core.dll)
// Signature:
member this.Item ('Key) : 'Value (requires comparison)
// Usage:
map.[key]
매개 변수
key
형식: 'Key입력 키입니다.
예외
Exception |
조건 |
---|---|
키를 찾지 못하면 throw됩니다. |
반환 값
키에 매핑된 값입니다.
플랫폼
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