UnmanagedMarshal.ElementCount 屬性
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
有數字元素。 這個屬性是唯讀的。
public:
property int ElementCount { int get(); };
public int ElementCount { get; }
member this.ElementCount : int
Public ReadOnly Property ElementCount As Integer
屬性值
一個整數表示元素數量。
例外狀況
這個論點不是未管理的元素數量。
備註
只有當存在 ElementCount時才存在 NativeTypeFixedArray 。