BigInteger.TryFormat メソッド

定義

オーバーロード

名前 説明
TryFormat(Span<Byte>, Int32, ReadOnlySpan<Char>, IFormatProvider)
TryFormat(Span<Char>, Int32, ReadOnlySpan<Char>, IFormatProvider)

この大きな整数インスタンスを文字のスパンに書式設定します。

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

ソース:
BigInteger.cs
public bool TryFormat(Span<byte> utf8Destination, out int bytesWritten, ReadOnlySpan<char> format = default, IFormatProvider? provider = default);
abstract member TryFormat : Span<byte> * int * ReadOnlySpan<char> * IFormatProvider -> bool
override this.TryFormat : Span<byte> * int * ReadOnlySpan<char> * IFormatProvider -> bool
Public Function TryFormat (utf8Destination As Span(Of Byte), ByRef bytesWritten As Integer, Optional format As ReadOnlySpan(Of Char) = Nothing, Optional provider As IFormatProvider = Nothing) As Boolean

パラメーター

utf8Destination
Span<Byte>
bytesWritten
Int32
format
ReadOnlySpan<Char>
provider
IFormatProvider

返品

実装

適用対象

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

ソース:
BigInteger.cs
ソース:
BigInteger.cs
ソース:
BigInteger.cs
ソース:
BigInteger.cs
ソース:
BigInteger.cs

この大きな整数インスタンスを文字のスパンに書式設定します。

public bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format = default, IFormatProvider? provider = default);
public bool TryFormat(Span<char> destination, out int charsWritten, ReadOnlySpan<char> format = default, IFormatProvider provider = default);
abstract member TryFormat : Span<char> * int * ReadOnlySpan<char> * IFormatProvider -> bool
override this.TryFormat : Span<char> * int * ReadOnlySpan<char> * IFormatProvider -> bool
member this.TryFormat : Span<char> * int * ReadOnlySpan<char> * IFormatProvider -> bool
Public Function TryFormat (destination As Span(Of Char), ByRef charsWritten As Integer, Optional format As ReadOnlySpan(Of Char) = Nothing, Optional provider As IFormatProvider = Nothing) As Boolean

パラメーター

destination
Span<Char>

このインスタンスが書き込まれる文字のスパン。

charsWritten
Int32

メソッドから制御が戻るときに、スパンの長さを文字数で格納します。

format
ReadOnlySpan<Char>

書式設定操作の書式を指定する文字の読み取り専用スパン。

provider
IFormatProvider

カルチャ固有の書式設定情報を提供するオブジェクト。

返品

true 書式設定操作が成功した場合。それ以外の場合 false

実装

こちらもご覧ください

適用対象