共用方式為


LocalVersion.Version 屬性

使用者在本機所擁有的版本。

命名空間:  Microsoft.TeamFoundation.VersionControl.Server
組件:  Microsoft.TeamFoundation.VersionControl.Server (在 Microsoft.TeamFoundation.VersionControl.Server.dll 中)

語法

'宣告
<ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, PropertyName := "Version",  _
    Direction := ClientPropertySerialization.Bidirectional)> _
Public Property Version As Integer
[ClientPropertyAttribute(ClientVisibility.Public, ClientVisibility.Private, PropertyName = "Version", 
    Direction = ClientPropertySerialization.Bidirectional)]
public int Version { get; set; }

屬性值

型別:System.Int32
傳回 Int32

.NET Framework 安全性

請參閱

參考

LocalVersion 類別

Microsoft.TeamFoundation.VersionControl.Server 命名空間