Clear()

Array::Clear() method

Not supported because the array represented by the current object is read-only.

virtual void System::Array<T>::Clear() override

Array::Clear(const ArrayPtr<Type>&, int, int) method

Replaces count values starting at the startIndex index in the specified array with default values.

template<typename Type> static void System::Array<T>::Clear(const ArrayPtr<Type> &arr, int startIndex, int count)

Template parameters

ParameterDescription
TypeType of elements in the target array

Arguments

ParameterTypeDescription
arrconst ArrayPtr<Type>&Target array
startIndexintIndex at which to start replacing the items
countintThe number of items to replace

See Also