Share via


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

注意:此 API 现在已过时。

将一个已进行版本管理的项的属性。

命名空间:  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 Integer) _
)
[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<int> value
)

参数

.NET Framework 安全性

请参见

参考

VersionControlServer 类

SetVersionedItemProperty 重载

Microsoft.TeamFoundation.VersionControl.Client 命名空间