Array.LongLength Array.LongLength Array.LongLength Array.LongLength Property

定義

取得代表 Array 所有維度的元素總數之 64 位元整數。Gets a 64-bit integer that represents the total number of elements in all the dimensions of the Array.

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

屬性值

64 位元的整數,代表 Array 所有維度的元素總數。A 64-bit integer that represents the total number of elements in all the dimensions of the Array.

備註

擷取這個屬性的值是一種 O(1) 運算。Retrieving the value of this property is an O(1) operation.

適用於

另請參閱