Share via


Guid.CompareTo Method

Compares this instance to a specified object and returns an indication of their relative values.

Namespace: System
Assembly: mscorlib (in mscorlib.dll)

Syntax

public int CompareTo (
         Object value
)

Parameters

  • value
    An object to compare, or null.

Return Value

A signed number indicating the relative values of this instance and value.

Version Information

Available in the .NET Micro Framework versions 3.0, 3.5, 4.0, and 4.1.

See Also

Reference

Guid Structure
Guid Members
System Namespace