Note

Access to this page requires authorization. You can try signing in or .

Access to this page requires authorization. You can try .

ISpanFormattable Interface

Definition

Namespace:
System
Assembly:
System.Runtime.dll
Source:
ISpanFormattable.cs
Source:
ISpanFormattable.cs
Source:
CachedCompletedInt32Task.cs

Important

Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.

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

public interface class ISpanFormattable : IFormattable
public interface ISpanFormattable : IFormattable
type ISpanFormattable = interface
 interface IFormattable
Public Interface ISpanFormattable
Implements IFormattable
Derived
Implements

Methods

Name Description
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


Feedback

Was this page helpful?