Array.LongLength 屬性

定義

得到一個 64 位元的整數,代表所有維度 Array中元素的總數。

public:
 property long LongLength { long get(); };
public long LongLength { get; }
[System.Runtime.InteropServices.ComVisible(false)]
public long LongLength { get; }
member this.LongLength : int64
[<System.Runtime.InteropServices.ComVisible(false)>]
member this.LongLength : int64
Public ReadOnly Property LongLength As Long

屬性值

一個 64 位元整數,代表所有維度 Array中元素的總數。

屬性

備註

取得此性質的值為 O(1) 運算。

適用於

另請參閱