Array.GetLongLength(Int32) 메서드

정의

지정된 차원의 요소 수를 나타내는 64비트 정수를 Array가져옵니다.

public:
 long GetLongLength(int dimension);
public long GetLongLength(int dimension);
[System.Runtime.InteropServices.ComVisible(false)]
public long GetLongLength(int dimension);
member this.GetLongLength : int -> int64
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.GetLongLength : int -> int64
Public Function GetLongLength (dimension As Integer) As Long

매개 변수

dimension
Int32

길이를 결정해야 하는 0부터 시작하는 차원 Array 입니다.

반품

지정된 차원의 요소 수를 나타내는 64비트 정수입니다.

특성

예외

dimension가 0보다 작습니다.

-또는-

dimension가 .보다 크거나 같은 경우 Rank

설명

예를 GetLongLength 들어 1 GetLongLength(0)차원의 요소 수를 반환하는 가 있습니다 Array.

이 메서드는 O(1) 작업입니다.

적용 대상

추가 정보