scripting:api:range:is-intersects

IsIntersects

Method of IRange

Checks if position intersects range (greater or equal start and less or equal than end position)

var pbResult = Range.IsIntersects(pPosition);
pbResult = Range.IsIntersects pPosition
VARIANT_BOOL bResult;
HRESULT hr = Range.IsIntersects(pPosition, &bResult);