TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider) Method

// .NET Core 2.1
// System.Runtime, Version=4.2.1.0, PublicKeyToken=b03f5f7f11d50a3a

namespace System
{
    public readonly struct DateTime : IComparable, IComparable<DateTime>, IConvertible, IEquatable<DateTime>, IFormattable, ISerializable
    {
        public bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format = default(ReadOnlySpan<char>), IFormatProvider provider = null);
    }
}

Usage

Metadata

ID
M:System.DateTime.TryFormat(System.Span{System.Char},System.Int32@,System.ReadOnlySpan{System.Char},System.IFormatProvider)

Declarations

Platform Version Assembly
.NET 5.0 System.Runtime, Version=5.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
.NET + Platform Extensions 5.0 System.Runtime, Version=5.0.0.0, PublicKeyToken=b03f5f7f11d50a3a
.NET Core 2.1 System.Runtime, Version=4.2.1.0, PublicKeyToken=b03f5f7f11d50a3a
2.2 System.Runtime, Version=4.2.1.0, PublicKeyToken=b03f5f7f11d50a3a
3.0 System.Runtime, Version=4.2.1.0, PublicKeyToken=b03f5f7f11d50a3a
3.1 System.Runtime, Version=4.2.2.0, PublicKeyToken=b03f5f7f11d50a3a
.NET Core + Platform Extensions 2.1 System.Runtime, Version=4.2.1.0, PublicKeyToken=b03f5f7f11d50a3a
2.2 System.Runtime, Version=4.2.1.0, PublicKeyToken=b03f5f7f11d50a3a
3.0 System.Runtime, Version=4.2.1.0, PublicKeyToken=b03f5f7f11d50a3a
3.1 System.Runtime, Version=4.2.2.0, PublicKeyToken=b03f5f7f11d50a3a
.NET Standard 2.1 netstandard, Version=2.1.0.0, PublicKeyToken=cc7b13ffcd2ddd51