다음을 통해 공유


TextRange.Equals Method

Definition

Overloads

Equals(Object)

Determines whether two snapshot ranges are the same.

Equals(String, Boolean)

Determines whether the text of this range is equivalent to a string.

Equals(Object)

Determines whether two snapshot ranges are the same.

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

Parameters

obj
Object

Returns

Applies to

Equals(String, Boolean)

Determines whether the text of this range is equivalent to a string.

public bool Equals (string value, bool ignoreCase = false);
override this.Equals : string * bool -> bool
Public Function Equals (value As String, Optional ignoreCase As Boolean = false) As Boolean

Parameters

value
String
ignoreCase
Boolean

Returns

Applies to