ReusableArray<T> Constructor (Boolean, Int32)

Visual Studio 2015
 

Creates a new reusable array.

Namespace:   Microsoft.VisualStudio.Utilities
Assembly:  Microsoft.VisualStudio.Utilities (in Microsoft.VisualStudio.Utilities.dll)

public:
ReusableArray(
	bool requiresExactSize,
	int maximumCacheArrayLength = 2147483647
)

Parameters

requiresExactSize
Type: System::Boolean

True if the array returned must have an exactly-matching length, false if the array can have a longer length than the length requested.

maximumCacheArrayLength
Type: System::Int32

The maximum length that should be cached when returning arrays to the resource store.

Return to top
Show: