Edit

Share via


Span<T>.Fill(T) Method

Definition

Fills the elements of this span with a specified value.

public:
 void Fill(T value);
public void Fill (T value);
member this.Fill : 'T -> unit
Public Sub Fill (value As T)

Parameters

value
T

The value to assign to each element of the span.

Applies to