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
- 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
- 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 标识符比较。