Teilen über


ISpanFormattable Schnittstelle

Definition

Stellt Funktionen zum Formatieren der Zeichenfolgendarstellung eines Objekts in einen Bereich bereit.

public interface class ISpanFormattable : IFormattable
public interface ISpanFormattable : IFormattable
type ISpanFormattable = interface
    interface IFormattable
Public Interface ISpanFormattable
Implements IFormattable
Abgeleitet
Implementiert

Methoden

Name Beschreibung
ToString(String, IFormatProvider)

Formatiert den Wert der aktuellen Instanz mithilfe des angegebenen Formats.

(Geerbt von IFormattable)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

Versucht, den Wert der aktuellen Instanz in die bereitgestellte Zeichenspanne zu formatieren.

Gilt für: