Modifier

Partager via


ValueString.CompareOrdinal(ValueString, ValueString) Method

Definition

Compares to strings by evaluating the numeric values of the corresponding characters in each string.

public static int CompareOrdinal (Microsoft.Windows.EventTracing.ValueString left, Microsoft.Windows.EventTracing.ValueString right);
static member CompareOrdinal : Microsoft.Windows.EventTracing.ValueString * Microsoft.Windows.EventTracing.ValueString -> int
Public Shared Function CompareOrdinal (left As ValueString, right As ValueString) As Integer

Parameters

left
ValueString

The left string to compare.

right
ValueString

The right string to compare.

Returns

A signed integer that indicates the lexical relationship between the two strings.

ValueCondition
Less than zeroleft is less than right.
Zeroleft and right are equal.
Greater than zeroleft is greater than right.

Applies to