Share via


VersionControlServer.SetVersionedItemProperty-Methode (ItemSpec, VersionSpec, DeletedState, ItemType, String, String)

Hinweis: Diese API ist mittlerweile veraltet.

Legt eine Eigenschaft für Elemente mit Versionsangabe fest.

Namespace:  Microsoft.TeamFoundation.VersionControl.Client
Assembly:  Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)

Syntax

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

Parameter

  • value
    Typ: System.String
    Der Wert, auf den die Eigenschaft festgelegt werden soll.

.NET Framework-Sicherheit

Siehe auch

Referenz

VersionControlServer Klasse

SetVersionedItemProperty-Überladung

Microsoft.TeamFoundation.VersionControl.Client-Namespace