共用方式為


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

注意:這個應用程式開發介面現在已經過時。

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

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

語法

'宣告
<ObsoleteAttribute("Please use SetVersionedItemAttribute to set attributes on versioned items.",  _
    False)> _
Public Sub SetVersionedItemProperty ( _
    itemSpec As ItemSpec, _
    versionSpec As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    propertyName As String, _
    value As Nullable(Of Double) _
)
[ObsoleteAttribute("Please use SetVersionedItemAttribute to set attributes on versioned items.", 
    false)]
public void SetVersionedItemProperty(
    ItemSpec itemSpec,
    VersionSpec versionSpec,
    DeletedState deletedState,
    ItemType itemType,
    string propertyName,
    Nullable<double> value
)

參數

.NET Framework 安全性

請參閱

參考

VersionControlServer 類別

SetVersionedItemProperty 多載

Microsoft.TeamFoundation.VersionControl.Client 命名空間