SemanticVersion.CompareTo Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- value
- SemanticVersion
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