BorrowedList<TElement>.Resize(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.
Resizes the BorrowedList<TElement> to contain size
elements. If size is less than the current number of elements,
the elements at the end of the list are removed. If size is greater
than the current number of elements, the new elements are set to their default value.
public void Resize(int size);
member this.Resize : int -> unit
Public Sub Resize (size As Integer)
Parameters
- size
- Int32
The new size of the BorrowedList<TElement>.
Remarks
The maximum allowed value of size is 1,073,741,824.