Op Englesch liesen Editéieren

Deelen iwwer


ISpanFormattable Interface

Definition

Provides functionality to format the string representation of an object into a span.

C#
public interface ISpanFormattable : IFormattable
Derived
Implements

Methods

ToString(String, IFormatProvider)

Formats the value of the current instance using the specified format.

(Inherited from IFormattable)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Tries to format the value of the current instance into the provided span of characters.

Applies to

Produkt Versiounen
.NET 6, 7, 8, 9, 10