Ascii.EqualsIgnoreCase Method
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.
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. |
- 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
.NET 9 และ .NET 8
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | 8, 9 |
- 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
.NET 9 และ .NET 8
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | 8, 9 |
- 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
.NET 9 และ .NET 8
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | 8, 9 |
- 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
.NET 9 และ .NET 8
ผลิตภัณฑ์ | เวอร์ชัน |
---|---|
.NET | 8, 9 |
คำติชม .NET
.NET เป็นโครงการโอเพนซอร์ส เลือกลิงก์เพื่อให้คำติชม: