共用方式為


VersionControlServer.SetVersionedItemAttribute 方法 (ItemSpec, VersionSpec, DeletedState, ItemType, String, Nullable<Double>)

將屬性設定為與已建立版本的項目。

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

語法

'宣告
Public Sub SetVersionedItemAttribute ( _
    itemSpec As ItemSpec, _
    versionSpec As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    propertyName As String, _
    value As Nullable(Of Double) _
)
public void SetVersionedItemAttribute(
    ItemSpec itemSpec,
    VersionSpec versionSpec,
    DeletedState deletedState,
    ItemType itemType,
    string propertyName,
    Nullable<double> value
)

參數

.NET Framework 安全性

請參閱

參考

VersionControlServer 類別

SetVersionedItemAttribute 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間