Share via


SemanticVersion.CompareTo Method

Definition

Overloads

CompareTo(SemanticVersion)

Implement CompareTo(T). Meets SymVer 2.0 p.11 https://semver.org/

CompareTo(Object)

Implement CompareTo(Object)

CompareTo(SemanticVersion)

Implement CompareTo(T). Meets SymVer 2.0 p.11 https://semver.org/

public:
 virtual int CompareTo(System::Management::Automation::SemanticVersion ^ value);
public int CompareTo (System.Management.Automation.SemanticVersion value);
abstract member CompareTo : System.Management.Automation.SemanticVersion -> int
override this.CompareTo : System.Management.Automation.SemanticVersion -> int
Public Function CompareTo (value As SemanticVersion) As Integer

Parameters

Returns

Implements

Applies to

CompareTo(Object)

Implement CompareTo(Object)

public:
 virtual int CompareTo(System::Object ^ version);
public:
 int CompareTo(Platform::Object ^ version);
int CompareTo(winrt::Windows::Foundation::IInspectable const & version);
public int CompareTo (object version);
abstract member CompareTo : obj -> int
override this.CompareTo : obj -> int
Public Function CompareTo (version As Object) As Integer

Parameters

version
Object

Returns

Implements

Applies to