Muokkaa

Jaa


Span<T>.Clear Method

Definition

Clears the contents of this Span<T> object.

public:
 void Clear();
public void Clear ();
member this.Clear : unit -> unit
Public Sub Clear ()

Remarks

The Clear method sets the items in the Span<T> object to their default values. It does not remove items from the Span<T>.

Applies to