Array2DT(Int32, Int32, Boolean) Constructor
Initializes a new instance of the
Array2DT struct using the specified
height and
width.
Parameter order is the same as in case of instantiating a regular two-dimensional array.
If the created
Array2DT is not used anymore the
Dispose method should be called to
return the possibly
ArrayPoolT-allocated underlying buffer to the pool.
Namespace: KGySoft.CollectionsAssembly: KGySoft.CoreLibraries (in KGySoft.CoreLibraries.dll) Version: 10.0.0
public Array2D(
int height,
int width,
bool assureClean
)
Public Sub New (
height As Integer,
width As Integer,
assureClean As Boolean
)
public:
Array2D(
int height,
int width,
bool assureClean
)
new :
height : int *
width : int *
assureClean : bool -> Array2D
Parameters
- height Int32
- The height of the array to be created.
- width Int32
- The width of the array to be created.
- assureClean Boolean
- to make sure the allocated underlying array is zero-initialized;
otherwise, . May not have an effect on older targeted platforms.