ToLowerInvariant()

System::MemoryExtensions::ToLowerInvariant(const ReadOnlySpan<char16_t>&, Span<char16_t>&) function

Converts characters to lowercase using invariant culture.

int32_t System::MemoryExtensions::ToLowerInvariant(const ReadOnlySpan<char16_t> &source, Span<char16_t> &destination)

Arguments

ParameterTypeDescription
sourceconst ReadOnlySpan<char16_t>&The source character span to convert
destinationSpan<char16_t>&The destination span to store converted characters

Return Value

Number of characters converted, or -1 if destination is too small

See Also