TwoPartVersion.CompareTo Method (TwoPartVersion)
This element is introduced in Windows PowerShell 5.0.
Namespace: Microsoft.OneGet.Utility.Versions
Assembly: Microsoft.OneGet.Utility (in Microsoft.OneGet.Utility.dll)
Usage
'Usage
Dim instance As TwoPartVersion
Dim other As TwoPartVersion
Dim returnValue As Integer
returnValue = instance.CompareTo(other)
Syntax
'Declaration
Public Function CompareTo ( _
other As TwoPartVersion _
) As Integer
public int CompareTo (
TwoPartVersion other
)
public:
virtual int CompareTo (
TwoPartVersion other
) sealed
public final int CompareTo (
TwoPartVersion other
)
public final function CompareTo (
other : TwoPartVersion
) : int
Parameters
- other
Return Value
Returns Int32.
Thread Safety
Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.
Platforms
Target Platforms
See Also
Reference
TwoPartVersion Structure
TwoPartVersion Members
Microsoft.OneGet.Utility.Versions Namespace