Skip to content

JsonPatchDocument.RemoveOperation.OpEntity.Mutable.TryFormat Method

Definition

Namespace: Corvus.Text.Json.Patch
Assembly: Corvus.Text.Json.dll

Overloads

Method Description
TryFormat(Span<char>, ref int, ReadOnlySpan<char>, IFormatProvider)
TryFormat(Span<byte>, ref int, ReadOnlySpan<char>, IFormatProvider)

TryFormat(Span<char>, ref int, ReadOnlySpan<char>, IFormatProvider)

public bool TryFormat(Span<char> destination, ref int charsWritten, ReadOnlySpan<char> format, IFormatProvider provider)

Parameters

Name Type Description
destination Span<char>
charsWritten ref int
format ReadOnlySpan<char>
provider IFormatProvider

Returns

bool

Implements

ISpanFormattable.TryFormat

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

TryFormat(Span<byte>, ref int, ReadOnlySpan<char>, IFormatProvider)

public bool TryFormat(Span<byte> utf8Destination, ref int bytesWritten, ReadOnlySpan<char> format, IFormatProvider provider)

Parameters

Name Type Description
utf8Destination Span<byte>
bytesWritten ref int
format ReadOnlySpan<char>
provider IFormatProvider

Returns

bool

Implements

IUtf8SpanFormattable.TryFormat

Applies To

Product Versions
.NET 9, 10
.NET Standard 2.0, 2.1

Collaborate with us on GitHub

The source for this content can be found on GitHub, where you can also create and review issues and pull requests.

Open an issue