Uri.TryUnescapeDataString Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Attempts to convert a span to its unescaped representation.
public:
static bool TryUnescapeDataString(ReadOnlySpan<char> charsToUnescape, Span<char> destination, [Runtime::InteropServices::Out] int % charsWritten);
public static bool TryUnescapeDataString (ReadOnlySpan<char> charsToUnescape, Span<char> destination, out int charsWritten);
static member TryUnescapeDataString : ReadOnlySpan<char> * Span<char> * int -> bool
Public Shared Function TryUnescapeDataString (charsToUnescape As ReadOnlySpan(Of Char), destination As Span(Of Char), ByRef charsWritten As Integer) As Boolean
Parameters
- charsToUnescape
- ReadOnlySpan<Char>
The span to unescape.
- charsWritten
- Int32
When this method returns, contains the number of chars that were written into destination
.
Returns
true
if the destination
was large enough to hold the entire result; otherwise, false
.
Applies to
Colaborați cu noi pe GitHub
Sursa pentru acest conținut poate fi găsită pe GitHub, unde puteți, de asemenea, să creați și să consultați probleme și solicitări de tragere. Pentru mai multe informații, consultați ghidul nostru pentru colaboratori.