Try Format(Span<Char>, Int32, ReadOnlySpan<Char>) Method
Tries to format the current GUID instance into the provided character span.
public bool TryFormat (Span<char> destination, out int charsWritten, ReadOnlySpan<char> format = default);
member this.TryFormat : Span<char> * int * ReadOnlySpan<char> -> bool
Public Function TryFormat (destination As Span(Of Char), ByRef charsWritten As Integer, Optional format As ReadOnlySpan(Of Char) = null) As Boolean
When this method returns, the number of characters written into the span.
A read-only span containing the character representing one of the following specifiers that indicates the exact format to use when interpreting
input: "N", "D", "B", "P", or "X".
true if the formatting operation was successful;