ValueString.CompareOrdinal(ValueString, ValueString) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.
Value | Condition |
---|---|
Less than zero | left is less than right . |
Zero | left and right are equal. |
Greater than zero | left is greater than right . |