LabWindows/CVI

CDotNetGetArrayLength

int CDotNetGetArrayLength (CDotNetHandle array, size_t dimension, ssize_t *length);

Purpose

Returns the length of the specified dimension of a .NET array.

Parameters

Input
Name Type Description
array CDotNetHandle The handle of the .NET array.
dimension size_t The zero-based dimension of the .NET array whose length you want to get.
Output
Name Type Description
length ssize_t The length of the specified dimension of the .NET array.

Return Value

Name Type Description
status int A value indicating whether an error occurred. Negative error codes indicate function failure.

Error codes are defined in cvi\include\cvidotnet.h.

You can use CDotNetGetErrorDescription to get the description of an error code.

Additional Information

Library: .NET Library

Include file: cvidotnet.h

LabWindows/CVI compatibility: LabWindows/CVI 8.0 and later