FontStretch.Compare(FontStretch, FontStretch) Método

Definición

Compara dos instancias de FontStretch objetos.

public:
 static int Compare(System::Windows::FontStretch left, System::Windows::FontStretch right);
public static int Compare(System.Windows.FontStretch left, System.Windows.FontStretch right);
static member Compare : System.Windows.FontStretch * System.Windows.FontStretch -> int
Public Shared Function Compare (left As FontStretch, right As FontStretch) As Integer

Parámetros

left
FontStretch

Primer FontStretch objeto que se va a comparar.

right
FontStretch

Segundo FontStretch objeto que se va a comparar.

Devoluciones

Valor Int32 que representa la relación entre las dos instancias de FontStretch.

Comentarios

Cuando el valor devuelto es menor que cero, left es menor que right. Cuando este valor es cero, indica que ambos operandos son iguales. Cuando el valor es mayor que cero, indica que es mayor que leftright.

Se aplica a