संपादित करें

इसके माध्यम से साझा किया गया


Ascii.ToLower Method

Definition

Overloads

ToLower(ReadOnlySpan<Char>, Span<Char>, Int32)

Copies text from a source buffer to a destination buffer, converting ASCII letters to lowercase during the copy.

ToLower(ReadOnlySpan<Char>, Span<Byte>, Int32)

Copies text from a source buffer to a destination buffer, converting ASCII letters to lowercase during the copy.

ToLower(ReadOnlySpan<Byte>, Span<Byte>, Int32)

Copies text from a source buffer to a destination buffer, converting ASCII letters to lowercase during the copy.

ToLower(ReadOnlySpan<Byte>, Span<Char>, Int32)

Copies text from a source buffer to a destination buffer, converting ASCII letters to lowercase during the copy.

ToLower(ReadOnlySpan<Char>, Span<Char>, Int32)

Source:
Ascii.CaseConversion.cs
Source:
Ascii.CaseConversion.cs

Copies text from a source buffer to a destination buffer, converting ASCII letters to lowercase during the copy.

public:
 static System::Buffers::OperationStatus ToLower(ReadOnlySpan<char> source, Span<char> destination, [Runtime::InteropServices::Out] int % charsWritten);
public static System.Buffers.OperationStatus ToLower (ReadOnlySpan<char> source, Span<char> destination, out int charsWritten);
static member ToLower : ReadOnlySpan<char> * Span<char> * int -> System.Buffers.OperationStatus
Public Shared Function ToLower (source As ReadOnlySpan(Of Char), destination As Span(Of Char), ByRef charsWritten As Integer) As OperationStatus

Parameters

source
ReadOnlySpan<Char>

The source buffer from which ASCII text is read.

destination
Span<Char>

The destination buffer to which lowercase text is written.

charsWritten
Int32

When this method returns, contains the number of characters actually written to destination. It's the same as the number of characters actually read from source.

Returns

An OperationStatus describing the result of the operation.

Remarks

In-place conversion is prohibited, please use ToLowerInPlace(Span<Char>, Int32) for that.

Applies to

ToLower(ReadOnlySpan<Char>, Span<Byte>, Int32)

Source:
Ascii.CaseConversion.cs
Source:
Ascii.CaseConversion.cs

Copies text from a source buffer to a destination buffer, converting ASCII letters to lowercase during the copy.

public:
 static System::Buffers::OperationStatus ToLower(ReadOnlySpan<char> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public static System.Buffers.OperationStatus ToLower (ReadOnlySpan<char> source, Span<byte> destination, out int bytesWritten);
static member ToLower : ReadOnlySpan<char> * Span<byte> * int -> System.Buffers.OperationStatus
Public Shared Function ToLower (source As ReadOnlySpan(Of Char), destination As Span(Of Byte), ByRef bytesWritten As Integer) As OperationStatus

Parameters

source
ReadOnlySpan<Char>

The source buffer from which ASCII text is read.

destination
Span<Byte>

The destination buffer to which lowercase text is written.

bytesWritten
Int32

When this method returns, contains the number of bytes actually written to destination. It's the same as the number of characters actually read from source.

Returns

An OperationStatus describing the result of the operation.

Applies to

ToLower(ReadOnlySpan<Byte>, Span<Byte>, Int32)

Source:
Ascii.CaseConversion.cs
Source:
Ascii.CaseConversion.cs

Copies text from a source buffer to a destination buffer, converting ASCII letters to lowercase during the copy.

public:
 static System::Buffers::OperationStatus ToLower(ReadOnlySpan<System::Byte> source, Span<System::Byte> destination, [Runtime::InteropServices::Out] int % bytesWritten);
public static System.Buffers.OperationStatus ToLower (ReadOnlySpan<byte> source, Span<byte> destination, out int bytesWritten);
static member ToLower : ReadOnlySpan<byte> * Span<byte> * int -> System.Buffers.OperationStatus
Public Shared Function ToLower (source As ReadOnlySpan(Of Byte), destination As Span(Of Byte), ByRef bytesWritten As Integer) As OperationStatus

Parameters

source
ReadOnlySpan<Byte>

The source buffer from which ASCII text is read.

destination
Span<Byte>

The destination buffer to which lowercase text is written.

bytesWritten
Int32

When this method returns, contains the number of bytes actually written to destination. It's the same as the number of bytes actually read from source.

Returns

An OperationStatus describing the result of the operation.

Remarks

The source and destination spans must not overlap. If they do, an InvalidOperationException will be thrown. If you want to mutate the span in-place, use the ToLowerInPlace(Span<Byte>, Int32) method instead.

Applies to

ToLower(ReadOnlySpan<Byte>, Span<Char>, Int32)

Source:
Ascii.CaseConversion.cs
Source:
Ascii.CaseConversion.cs

Copies text from a source buffer to a destination buffer, converting ASCII letters to lowercase during the copy.

public:
 static System::Buffers::OperationStatus ToLower(ReadOnlySpan<System::Byte> source, Span<char> destination, [Runtime::InteropServices::Out] int % charsWritten);
public static System.Buffers.OperationStatus ToLower (ReadOnlySpan<byte> source, Span<char> destination, out int charsWritten);
static member ToLower : ReadOnlySpan<byte> * Span<char> * int -> System.Buffers.OperationStatus
Public Shared Function ToLower (source As ReadOnlySpan(Of Byte), destination As Span(Of Char), ByRef charsWritten As Integer) As OperationStatus

Parameters

source
ReadOnlySpan<Byte>

The source buffer from which ASCII text is read.

destination
Span<Char>

The destination buffer to which lowercase text is written.

charsWritten
Int32

When this method returns, contains the number of characters actually written to destination. It's the same as the number of bytes actually read from source.

Returns

An OperationStatus describing the result of the operation.

Applies to