Array.GetLongLength(Int32) 메서드

정의

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

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

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

반환

Int64

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

특성

예외

dimension가 0보다 작은 경우

또는

dimensionRank보다 크거나 같은 경우

설명

GetLongLength 예는 GetLongLength(0)1 차원의 요소 수를 반환하는 Array것입니다.

이 방법은 O(1) 작업에 설명 합니다.

적용 대상

추가 정보