Edit

Share via


ValueString.CompareTo(ValueString) Method

Definition

Compares this string with a specified string by evaluating the numeric values of the corresponding characters in each string.

public int CompareTo (Microsoft.Windows.EventTracing.ValueString value);
member this.CompareTo : Microsoft.Windows.EventTracing.ValueString -> int
Public Function CompareTo (value As ValueString) As Integer

Parameters

value
ValueString

The string to compare with this string.

Returns

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

ValueCondition
Less than zeroThis string is less than value.
ZeroThis string and value are equal.
Greater than zeroThis string is greater than value.

Applies to