Partager via


VersionControlServer.SetVersionedItemProperty Method (ItemSpec, VersionSpec, DeletedState, ItemType, String, Nullable<DateTime>)

Sets a property on a versioned item.

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

Syntax

'Déclaration
Public Sub SetVersionedItemProperty ( _
    itemSpec As ItemSpec, _
    versionSpec As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    propertyName As String, _
    value As Nullable(Of DateTime) _
)
public void SetVersionedItemProperty(
    ItemSpec itemSpec,
    VersionSpec versionSpec,
    DeletedState deletedState,
    ItemType itemType,
    string propertyName,
    Nullable<DateTime> value
)
public:
void SetVersionedItemProperty(
    ItemSpec^ itemSpec, 
    VersionSpec^ versionSpec, 
    DeletedState deletedState, 
    ItemType itemType, 
    String^ propertyName, 
    Nullable<DateTime> value
)
member SetVersionedItemProperty : 
        itemSpec:ItemSpec * 
        versionSpec:VersionSpec * 
        deletedState:DeletedState * 
        itemType:ItemType * 
        propertyName:string * 
        value:Nullable<DateTime> -> unit 
public function SetVersionedItemProperty(
    itemSpec : ItemSpec, 
    versionSpec : VersionSpec, 
    deletedState : DeletedState, 
    itemType : ItemType, 
    propertyName : String, 
    value : Nullable<DateTime>
)

Parameters

.NET Framework Security

See Also

Reference

VersionControlServer Class

SetVersionedItemProperty Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace