Open sandboxFocus

Method CompareTo

CompareTo(SerializableDeclarationId)

Compares this identifier with another one by the ordinal value of their Id strings.

Declaration
public int CompareTo(SerializableDeclarationId other)
Parameters
Type Name Description
SerializableDeclarationId other

The identifier to compare with this identifier.

Returns
Type Description
int

A negative number if this identifier precedes other, zero if both are equal, and a positive number otherwise.

Implements