Property | Type | Description | |
---|---|---|---|
Build | uint | ||
Major | uint | ||
Minor | uint | ||
Patch | uint |
Method | Description | |
---|---|---|
AppVersion ( string versionStr ) : System | ||
Clone ( ) : object |
Clone new one using ToString() to create new
|
|
CompareTo ( Object v2o, int limitNumber ) : int |
逐字比较,遇不同,数字比较
|
|
CompareTo ( object obj ) : int | ||
Equals ( object obj ) : bool | ||
GetHashCode ( ) : int | ||
ToString ( ) : string |
To Version String eg. 1.2.1.0.alpha.xxx
|
|
ToVersion2 ( ) : string |
eg. 1.2
|
|
ToVersion3 ( ) : string |
eg. 1.2.1
|
|
ToVersion4 ( ) : string |
eg. 1.2.1.0
|
|
operator ( ) : bool |
Method | Description | |
---|---|---|
Equals ( |
Method | Description | |
---|---|---|
GetVersionNumbers ( int limit = 4 ) : uint[] |
所有版本数字组成的数组
|
public AppVersion ( string versionStr ) : System | ||
versionStr | string | |
return | System |
public CompareTo ( Object v2o, int limitNumber ) : int | ||
v2o | Object | |
limitNumber | int | 限制几位数字进行比较? |
return | int |