ReusableArray<T>.CanReuse(T[], Int32) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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..