文档

Unity Engine

Unity Engine

Equals

Checks if the StringView is equal to the object.
阅读时间1 分钟最后更新于 1 个月前

Definition

Equals(StringView)

Checks if the StringView is equal to the object.
public bool Equals(StringView other)

Parameters

An object.

Returns

Type

Description

boolTrue if they are equal, otherwise false.

Equals(Object)

Checks if the StringView is equal to the object.
public override bool Equals(object other)

Parameters

other

An object.

Returns

Type

Description

boolTrue if they are equal, otherwise false.

Equals(string, StringComparison)

Checks if the StringView is equal to the object.
public bool Equals(string other, StringComparison comparisonOptions = StringComparison.OrdinalIgnoreCase)

Parameters

other

An object.

comparisonOptions

Returns

Type

Description

boolTrue if they are equal, otherwise false.

Equals(StringView, StringComparison)

Checks if the StringView is equal to the object.
public bool Equals(StringView other, StringComparison comparisonOptions)

Parameters

An object.

comparisonOptions

Returns

Type

Description

boolTrue if they are equal, otherwise false.