net9.0
namespace System
{
public readonly struct DateTime : IComparable, IComparable<DateTime>, IConvertible, IEquatable<DateTime>, IFormattable, IParsable<DateTime>, ISpanFormattable, ISpanParsable<DateTime>, IUtf8SpanFormattable, ISerializable
{
public bool TryFormat(Span<byte> utf8Destination, out int bytesWritten, [StringSyntax("DateTimeFormat")] ReadOnlySpan<char> format = default, IFormatProvider? provider = null);
}
}
Assembly | System.Runtime , Version=9.0.0.0, PublicKeyToken=b03f5f7f11d50a3a |
---|---|
Implementation | Source |
Help | Documentation |
.NET | 8.09.0 |
OS Platforms | For the selected framework this API is supported on all OS platforms. |