Szerkesztés

Megosztás a következőn keresztül:


IList<TValue>.resize Method

Definition

Changes the number of elements in the container.

Overloads

resize(Int32, TValue)

Changes the number of elements in the container to the specified size. If the new size is larger than the old size, the given values will be appended to the container.

resize(Int32)

Changes the number of elements in the container to the specified size.

Remarks

For more information, see list::resize (STL/CLR).

resize(Int32, TValue)

Changes the number of elements in the container to the specified size. If the new size is larger than the old size, the given values will be appended to the container.

public:
 void resize(int _Newsize, TValue _Val);
public void resize (int _Newsize, TValue _Val);
abstract member resize : int * 'Value -> unit
Public Sub resize (_Newsize As Integer, _Val As TValue)

Parameters

_Newsize
Int32

The new size of the container.

_Val
TValue

The value of the padding elements.

Remarks

For more information, see list::resize (STL/CLR).

Applies to

resize(Int32)

Changes the number of elements in the container to the specified size.

public:
 void resize(int _Newsize);
public void resize (int _Newsize);
abstract member resize : int -> unit
Public Sub resize (_Newsize As Integer)

Parameters

_Newsize
Int32

The new size of the container.

Remarks

For more information, see list::resize (STL/CLR).

Applies to