RichEditTextRange.InRange(ITextRange) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.