Returns a value indicating whether one range is contained within another.
HRESULT inRange( IHTMLTxtRange *Range, VARIANT_BOOL *InRange );
- [in] Pointer to the IHTMLTxtRange interface of an TextRange object that might be contained.
- [out, retval] Pointer to a VARIANT_BOOL that returns one of the following possible values.
- Range is contained within or is equal to the TextRange object on which the method is called.
- Range is not contained within the TextRange object on which the method is called.
Returns S_OK if successful, or an error value otherwise.
This feature might not be available on platforms other than Microsoft Win32.