Επεξεργασία

Κοινή χρήση μέσω


IDeque<TValue>.resize Method

Definition

Changes the number of elements.

Overloads

resize(Int32)

Changes the number of elements.

resize(Int32, TValue)

Changes the number of elements.

Remarks

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

resize(Int32)

Changes the number of elements.

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 controlled sequence.

Remarks

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

Applies to

resize(Int32, TValue)

Changes the number of elements.

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 controlled sequence.

_Val
TValue

The value of the padding element.

Remarks

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

Applies to