System::Array::Clear method

Array::Clear() method

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

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

See Also

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)
ParameterDescription
TypeType of elements in the target array
ParameterTypeDescription
arrconst ArrayPtr<Type>&Target array
startIndexintIndex at which to start replacing the items
countintThe number of items to replace

See Also