Version: 2022.3
public bool Equals (object other);

参数

other An object.

返回

bool True if they are equal, otherwise false.

描述

Checks if the StringView is equal to the object.


public bool Equals (string other, stringComparison comparisonOptions);

参数

other A string.
comparisonOptions A string comparison option.

返回

bool True if they are equal, otherwise false.

描述

Checks if the StringView is equal to the string.


public bool Equals (stringView other, stringComparison comparisonOptions);

参数

other A StringView.
comparisonOptions A string comparison option.

返回

bool True if they are equal, otherwise false.

描述

Checks if the StringView is equal to another StringView.


public bool Equals (stringView other);

参数

other A StringView.

返回

bool True if they are equal, otherwise false.

描述

Checks if the StringView is equal to another StringView.