PooledList<T>.

InsertSpan(int, 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> InsertSpan(int index, int count)

Parameters

Name Type Description
index int
count int

Return Value

Type Description
Span<T>