public bool TryFormat(
Span<char> destination,
out int charsWritten,
ReadOnlySpan<char> format,
IFormatProvider? provider
)
Public Function TryFormat (
destination As Span(Of Char),
<OutAttribute> ByRef charsWritten As Integer,
format As ReadOnlySpan(Of Char),
provider As IFormatProvider
) As Boolean
public:
virtual bool TryFormat(
Span<wchar_t> destination,
[OutAttribute] int% charsWritten,
ReadOnlySpan<wchar_t> format,
IFormatProvider^ provider
) sealed
abstract TryFormat :
destination : Span<char> *
charsWritten : int byref *
format : ReadOnlySpan<char> *
provider : IFormatProvider -> bool
override TryFormat :
destination : Span<char> *
charsWritten : int byref *
format : ReadOnlySpan<char> *
provider : IFormatProvider -> bool
This method behaves identical to the UBinarySizeTryFormat(SpanChar, Int32, ReadOnlySpanChar, IFormatProvider) method. Format strings with upper-case unit letters will still use powers of two for SI units; you must use lower-case unit letters to format with powers of ten.