SemVersion.

CompareTo(object) Method

Summary

Compares to SemVersion objects to and another.
Namespace
Cake.Common
Containing Type
SemVersion

Syntax

public int CompareTo(object obj)

Parameters

Name Type Description
obj object The object we compare with.

Return Value

Type Description
int Return 0 if the objects are identical, 1 if the version is newer and -1 if the version is older.