GetLength()

Array::GetLength(int) method

Returns the number of elements in the specified dimension.

int System::Array<T>::GetLength(int dimension)

Arguments

ParameterTypeDescription
dimensionintA dimension the length of which to return

Return Value

Number of elements in the specified dimension

See Also