Share via


ITextRangeProvider.Compare(ITextRangeProvider) Método

Definición

Devuelve un valor que indica si los puntos inicial y final de un intervalo de texto son los mismos que otros intervalos de texto.

public:
 bool Compare(ITextRangeProvider ^ textRangeProvider);
bool Compare(ITextRangeProvider const& textRangeProvider);
public bool Compare(ITextRangeProvider textRangeProvider);
function compare(textRangeProvider)
Public Function Compare (textRangeProvider As ITextRangeProvider) As Boolean

Parámetros

textRangeProvider
ITextRangeProvider

Intervalo de texto que se va a comparar con el intervalo de texto del mismo nivel de implementación.

Devoluciones

Boolean

bool

True si el intervalo de ambos intervalos de texto es idéntico; de lo contrario, false.

Se aplica a