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) 操作。

适用于

另请参阅