dotnet-bot · learn.microsoft.com

Definition

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?

No

Need help with this topic?

Want to try using Ask Learn to clarify or guide you through this topic?

Read the original on learn.microsoft.com ↗