Returns a number element.
[Visual Basic] Public ReadOnly Property ElementCount As Integer [C#] public int ElementCount {get;} [C++] public: __property int get_ElementCount(); [JScript] public function get ElementCount() : int;
Exception Type | Condition |
---|---|
ArgumentException | If the argument is not a unmanaged element count. |
There is a NumElement only if there is a NativeTypeFixedArray.
UnmanagedMarshal Class | UnmanagedMarshal Members | System.Reflection Namespace