Share via


NamespaceComparer.Compare(String, String) Method

Definition

Compares two objects and returns a value indicating whether one is less than, equal to, or greater than the other.

public virtual int Compare (string? x, string? y);
abstract member Compare : string * string -> int
override this.Compare : string * string -> int
Public Overridable Function Compare (x As String, y As String) As Integer

Parameters

x
String
y
String

Returns

Implements

Applies to