System::Array::GetLength method

Array::GetLength method

Returns the number of elements in the specified dimension.

int System::Array<T>::GetLength(int dimension)
ParameterTypeDescription
dimensionintA dimension the length of which to return

ReturnValue

Number of elements in the specified dimension

See Also