Method TryGetInt32Array
TryGetInt32Array(out ReadOnlyMemory<int>)
Gets the items of an array stored as int values, without a copy.
public bool TryGetInt32Array(out ReadOnlyMemory<int> items)
Parameters
itemsReadOnlyMemory<int>The items, when this method returns true.
Returns
- bool
true for an array read from
intitems or made by FromInt32Array(ReadOnlyMemory<int>); false for any other value, including an array of int values held as a list.