Rune.Equals 方法

定义

重载

名称 说明
Equals(Object)

返回一个值,该值指示当前实例和指定对象是否相等。

Equals(Rune)

返回一个值,该值指示当前实例和指定的 rune 是否相等。

Equals(Rune, StringComparison)

Equals(Object)

Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs

返回一个值,该值指示当前实例和指定对象是否相等。

public:
 override bool Equals(System::Object ^ obj);
public override bool Equals(object? obj);
override this.Equals : obj -> bool
Public Overrides Function Equals (obj As Object) As Boolean

参数

obj
Object

要与当前实例进行比较的对象。

返回

true 如果 obj 为类型 Rune 且等于当前实例,则为 ;否则为 false

适用于

Equals(Rune)

Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs
Source:
Rune.cs

返回一个值,该值指示当前实例和指定的 rune 是否相等。

public:
 virtual bool Equals(System::Text::Rune other);
public bool Equals(System.Text.Rune other);
override this.Equals : System.Text.Rune -> bool
Public Function Equals (other As Rune) As Boolean

参数

other
Rune

要与当前实例进行比较的对象。

返回

true 如果当前实例相 other 等,则为 ;否则为 false

实现

适用于

Equals(Rune, StringComparison)

Source:
Rune.cs
public:
 bool Equals(System::Text::Rune other, StringComparison comparisonType);
public bool Equals(System.Text.Rune other, StringComparison comparisonType);
override this.Equals : System.Text.Rune * StringComparison -> bool
Public Function Equals (other As Rune, comparisonType As StringComparison) As Boolean

参数

other
Rune
comparisonType
StringComparison

返回

适用于