NGWS SDK Documentation  

This is preliminary documentation and subject to change.
To comment on this topic, please send us email at ngwssdk@microsoft.com. Thanks!

UnmanagedMarshal.ElementCount

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;

Exceptions

Exception Type Condition
ArgumentException If the argument is not a unmanaged element count.

Remarks

There is a NumElement only if there is a NativeTypeFixedArray.

See Also

UnmanagedMarshal Class | UnmanagedMarshal Members | System.Reflection Namespace