equals method

equals

Compares search text annotation using IEquatable Equals method.

def equals(self, other):
    ...
Parameter Type Description
other SearchTextFragment The SearchTextFragment object to compare with the current object.

equals

Compares search text annotation using standard object Equals method.

def equals(self, obj):
    ...
Parameter Type Description
obj Any The object to compare with the current object.

Returns: bool: True if the specified object is equal to the current search text fragment; otherwise, False.

See Also