UnmanagedMarshal.ElementCount Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.