Edit

Share via


Ascii.EqualsIgnoreCase Method

Definition

Overloads

EqualsIgnoreCase(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.

EqualsIgnoreCase(ReadOnlySpan<Byte>, ReadOnlySpan<Char>)

Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.

EqualsIgnoreCase(ReadOnlySpan<Char>, ReadOnlySpan<Byte>)

Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.

EqualsIgnoreCase(ReadOnlySpan<Char>, ReadOnlySpan<Char>)

Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.

EqualsIgnoreCase(ReadOnlySpan<Byte>, ReadOnlySpan<Byte>)

Source:
Ascii.Equality.cs
Source:
Ascii.Equality.cs

Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.

public:
 static bool EqualsIgnoreCase(ReadOnlySpan<System::Byte> left, ReadOnlySpan<System::Byte> right);
public static bool EqualsIgnoreCase (ReadOnlySpan<byte> left, ReadOnlySpan<byte> right);
static member EqualsIgnoreCase : ReadOnlySpan<byte> * ReadOnlySpan<byte> -> bool
Public Shared Function EqualsIgnoreCase (left As ReadOnlySpan(Of Byte), right As ReadOnlySpan(Of Byte)) As Boolean

Parameters

left
ReadOnlySpan<Byte>

The buffer to compare with right.

right
ReadOnlySpan<Byte>

The buffer to compare with left.

Returns

true if the corresponding elements in left and right are equal ignoring case considerations and ASCII; false otherwise.

Remarks

If both buffers contain equal, but non-ASCII characters, the method returns false.

Applies to

EqualsIgnoreCase(ReadOnlySpan<Byte>, ReadOnlySpan<Char>)

Source:
Ascii.Equality.cs
Source:
Ascii.Equality.cs

Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.

public:
 static bool EqualsIgnoreCase(ReadOnlySpan<System::Byte> left, ReadOnlySpan<char> right);
public static bool EqualsIgnoreCase (ReadOnlySpan<byte> left, ReadOnlySpan<char> right);
static member EqualsIgnoreCase : ReadOnlySpan<byte> * ReadOnlySpan<char> -> bool
Public Shared Function EqualsIgnoreCase (left As ReadOnlySpan(Of Byte), right As ReadOnlySpan(Of Char)) As Boolean

Parameters

left
ReadOnlySpan<Byte>

The buffer to compare with right.

right
ReadOnlySpan<Char>

The buffer to compare with left.

Returns

true if the corresponding elements in left and right are equal ignoring case considerations and ASCII; false otherwise.

Applies to

EqualsIgnoreCase(ReadOnlySpan<Char>, ReadOnlySpan<Byte>)

Source:
Ascii.Equality.cs
Source:
Ascii.Equality.cs

Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.

public:
 static bool EqualsIgnoreCase(ReadOnlySpan<char> left, ReadOnlySpan<System::Byte> right);
public static bool EqualsIgnoreCase (ReadOnlySpan<char> left, ReadOnlySpan<byte> right);
static member EqualsIgnoreCase : ReadOnlySpan<char> * ReadOnlySpan<byte> -> bool
Public Shared Function EqualsIgnoreCase (left As ReadOnlySpan(Of Char), right As ReadOnlySpan(Of Byte)) As Boolean

Parameters

left
ReadOnlySpan<Char>

The buffer to compare with right.

right
ReadOnlySpan<Byte>

The buffer to compare with left.

Returns

true if the corresponding elements in left and right are equal ignoring case considerations and ASCII; false otherwise.

Applies to

EqualsIgnoreCase(ReadOnlySpan<Char>, ReadOnlySpan<Char>)

Source:
Ascii.Equality.cs
Source:
Ascii.Equality.cs

Determines whether the provided buffers contain equal ASCII characters, ignoring case considerations.

public:
 static bool EqualsIgnoreCase(ReadOnlySpan<char> left, ReadOnlySpan<char> right);
public static bool EqualsIgnoreCase (ReadOnlySpan<char> left, ReadOnlySpan<char> right);
static member EqualsIgnoreCase : ReadOnlySpan<char> * ReadOnlySpan<char> -> bool
Public Shared Function EqualsIgnoreCase (left As ReadOnlySpan(Of Char), right As ReadOnlySpan(Of Char)) As Boolean

Parameters

left
ReadOnlySpan<Char>

The buffer to compare with right.

right
ReadOnlySpan<Char>

The buffer to compare with left.

Returns

true if the corresponding elements in left and right are equal ignoring case considerations and ASCII; false otherwise.

Applies to