CaseInsensitiveComparison.Equals 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
Equals(ReadOnlySpan<Char>, ReadOnlySpan<Char>) |
判斷兩個字串是否根據不區分大小寫識別碼的 Unicode 規則相等, (小寫對應) 。 |
Equals(String, String) |
判斷兩個字串是否根據不區分大小寫識別碼的 Unicode 規則相等, (小寫對應) 。 |
Equals(ReadOnlySpan<Char>, ReadOnlySpan<Char>)
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
判斷兩個字串是否根據不區分大小寫識別碼的 Unicode 規則相等, (小寫對應) 。
public static bool Equals (ReadOnlySpan<char> left, ReadOnlySpan<char> right);
static member Equals : ReadOnlySpan<char> * ReadOnlySpan<char> -> bool
Public Shared Function Equals (left As ReadOnlySpan(Of Char), right As ReadOnlySpan(Of Char)) As Boolean
參數
- left
- ReadOnlySpan<Char>
要比較的第一個識別碼
- right
- ReadOnlySpan<Char>
要比較的第二個識別碼
傳回
如果識別碼應該視為相同,則為 true。
備註
這些也是用於 VB 識別碼比較的規則。
適用於
Equals(String, String)
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
- Source:
- CaseInsensitiveComparison.cs
判斷兩個字串是否根據不區分大小寫識別碼的 Unicode 規則相等, (小寫對應) 。
public:
static bool Equals(System::String ^ left, System::String ^ right);
public static bool Equals (string left, string right);
static member Equals : string * string -> bool
Public Shared Function Equals (left As String, right As String) As Boolean
參數
- left
- String
要比較的第一個識別碼
- right
- String
要比較的第二個識別碼
傳回
如果識別碼應該視為相同,則為 true。
備註
這些也是用於 VB 識別碼比較的規則。