共用方式為


VersionStamp.GetNewerVersion 方法

定義

多載

GetNewerVersion()

取得新的 VersionStamp,保證比其基底更新,這應該只用于相同的專案,以將它移至較新版本

GetNewerVersion(VersionStamp)

比較兩個不同的版本,並在沒有衝突時傳回其中一個版本,否則請建立新版本,以便稍後用來比較不同專案之間的版本

GetNewerVersion()

Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs

取得新的 VersionStamp,保證比其基底更新,這應該只用于相同的專案,以將它移至較新版本

public:
 Microsoft::CodeAnalysis::VersionStamp GetNewerVersion();
public Microsoft.CodeAnalysis.VersionStamp GetNewerVersion ();
member this.GetNewerVersion : unit -> Microsoft.CodeAnalysis.VersionStamp
Public Function GetNewerVersion () As VersionStamp

傳回

適用於

GetNewerVersion(VersionStamp)

Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs
Source:
VersionStamp.cs

比較兩個不同的版本,並在沒有衝突時傳回其中一個版本,否則請建立新版本,以便稍後用來比較不同專案之間的版本

public:
 Microsoft::CodeAnalysis::VersionStamp GetNewerVersion(Microsoft::CodeAnalysis::VersionStamp version);
public Microsoft.CodeAnalysis.VersionStamp GetNewerVersion (Microsoft.CodeAnalysis.VersionStamp version);
member this.GetNewerVersion : Microsoft.CodeAnalysis.VersionStamp -> Microsoft.CodeAnalysis.VersionStamp
Public Function GetNewerVersion (version As VersionStamp) As VersionStamp

參數

version
VersionStamp

傳回

適用於