Ejemplo n.º 1
0
 /// <summary>
 /// Compares this range with another range.
 /// </summary>
 /// <param name="range">A range to compare.
 /// The range must have come from the same text provider or an InvalidArgumentException will be thrown.</param>
 /// <returns>true if both ranges span the same text.</returns>
 public bool Compare(TextPatternRange range)
 {
     ValidateRangeArgument(range, "range");
     return(UiaCoreApi.TextRange_Compare(_hTextRange, range._hTextRange));
 }