Share via


VersionControlServer.SetVersionedItemProperty, méthode (ItemSpec, VersionSpec, DeletedState, ItemType, String, array<Byte[])

Remarque : cette API est maintenant obsolète.

Définit une propriété sur un élément avec version.

Espace de noms :  Microsoft.TeamFoundation.VersionControl.Client
Assembly :  Microsoft.TeamFoundation.VersionControl.Client (dans Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntaxe

'Déclaration
<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 Byte() _
)
[ObsoleteAttribute("Please use SetVersionedItemAttribute to set attributes on versioned items.", 
    false)]
public void SetVersionedItemProperty(
    ItemSpec itemSpec,
    VersionSpec versionSpec,
    DeletedState deletedState,
    ItemType itemType,
    string propertyName,
    byte[] value
)

Paramètres

  • value
    Type : array<System.Byte[]
    Valeur de propriété à définir.

Sécurité .NET Framework

Voir aussi

Référence

VersionControlServer Classe

SetVersionedItemProperty, surcharge

Microsoft.TeamFoundation.VersionControl.Client, espace de noms