Partager via


ReusableArray<T>.CanReuse(T[], Int32) Method

Definition

Determines whether the array can be reused.

protected:
 override bool CanReuse(cli::array <T> ^ value, int parameter);
protected:
 override bool CanReuse(Platform::Array <T> ^ value, int parameter);
 override bool CanReuse(std::Array <T> const & value, int parameter);
protected override bool CanReuse (T[] value, int parameter);
override this.CanReuse : 'T[] * int -> bool
Protected Overrides Function CanReuse (value As T(), parameter As Integer) As Boolean

Parameters

value
T[]

The allocated array.

parameter
Int32

The requested size.

Returns

True if the array can be reused, otherwise false..

Applies to