CTextRange2.IsEqualmethod
Determines whether this range has the same character positions and story as those of a specified range.
Syntax
FUNCTION IsEqual (BYVAL pRange AS ITextRange2 PTR) AS LONG
Parameters
| Name | Description | |
|---|---|---|
pRange | The ITextRange2 object that is compared to this range. |
Return value
The comparison result. Returns tomTrue if this range points at the same text (has the same start and end character positions and story) as pRange; otherwise it returns tomFalse.
Description
Determines whether this range has the same character positions and story as those of a specified range.
Reference
- Defined in AfxNova/CTextRange2.inc:446
- Documented in Windows/WIndows Controls/RichEdit/CTextRange2 Class.md
- Topic: CTextRange2 Class