PooledList<T>.

AddSpan(int) Method

Summary

Advances the Count by the number of items specified, increasing the capacity if required, then returns a Span representing the set of items to be added, allowing direct writes to that section of the collection.
Namespace
Avalonia.Collections.Pooled
Containing Type
PooledList<T>

Syntax

public Span<T> AddSpan(int count)

Parameters

Name Type Description
count int The number of items to add.

Return Value

Type Description
Span<T>