SystemTarget.ISpanFormattable.TryFormat 方法
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
bool ISpanFormattable.TryFormat (Span<char> destination, out int charsWritten, ReadOnlySpan<char> format, IFormatProvider provider);
abstract member System.ISpanFormattable.TryFormat : Span<char> * int * ReadOnlySpan<char> * IFormatProvider -> bool
override this.System.ISpanFormattable.TryFormat : Span<char> * int * ReadOnlySpan<char> * IFormatProvider -> bool
Function TryFormat (destination As Span(Of Char), ByRef charsWritten As Integer, format As ReadOnlySpan(Of Char), provider As IFormatProvider) As Boolean Implements ISpanFormattable.TryFormat
参数
- charsWritten
- Int32
- format
- ReadOnlySpan<Char>
- provider
- IFormatProvider