FontStretch.Compare(FontStretch, FontStretch) Método

Definición

Compara dos instancias de objetos FontStretch.

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 objeto FontStretch que se va a comparar.

right
FontStretch

Segundo objeto FontStretch que se va a comparar.

Devoluciones

Int32

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

Comentarios

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

Se aplica a