RichEditTextRange.InRange(ITextRange) Method

Definition

Determines whether this range is in or at the same text as a specified range.

public:
 virtual bool InRange(ITextRange ^ range) = InRange;
bool InRange(ITextRange const& range);
public bool InRange(ITextRange range);
function inRange(range)
Public Function InRange (range As ITextRange) As Boolean

Parameters

range
ITextRange

Text that is compared to the current range.

Returns

Boolean

bool

The comparison result. The result can be null. The method returns true if the range is in or at the same text as ITextRange; otherwise, it returns false.

Implements

Applies to