แก้ไข

แชร์ผ่าน


UnmanagedMarshal.ElementCount Property

Definition

Gets a number element. This property is read-only.

public:
 property int ElementCount { int get(); };
public int ElementCount { get; }
member this.ElementCount : int
Public ReadOnly Property ElementCount As Integer

Property Value

An integer indicating the element count.

Exceptions

The argument is not an unmanaged element count.

Remarks

There is an ElementCount only if there is a NativeTypeFixedArray.

Applies to