Method AddRangeNoResize
AddRangeNoResize(void*, int)
Appends elements from a buffer to the end of this list. Increments the length by the number of appended elements.
Declaration
public void AddRangeNoResize(void* ptr, int length)
Parameters
Type | Name | Description |
---|---|---|
void* | ptr | A buffer. |
int | length | The number of elements from the buffer to append. |
Remarks
If the elements exceeds the capacity, throws cref="IndexOutOfRangeException", and the list is unchanged.
Exceptions
Type | Condition |
---|---|
IndexOutOfRangeException | Thrown if the append exceeds the capacity. |