共用方式為


RepositoryExtensions.SetVersionedItemProperty Method

Sets properties to versioned items.

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

Syntax

'Declaration
<WebMethodAttribute> _
Public Sub SetVersionedItemProperty ( _
    workspaceName As String, _
    workspaceOwner As String, _
    itemSpecs As ItemSpec(), _
    versionSpec As VersionSpec, _
    deletedState As DeletedState, _
    itemType As ItemType, _
    propertyValues As PropertyValue() _
)
[WebMethodAttribute]
public void SetVersionedItemProperty(
    string workspaceName,
    string workspaceOwner,
    ItemSpec[] itemSpecs,
    VersionSpec versionSpec,
    DeletedState deletedState,
    ItemType itemType,
    PropertyValue[] propertyValues
)
[WebMethodAttribute]
public:
void SetVersionedItemProperty(
    String^ workspaceName, 
    String^ workspaceOwner, 
    array<ItemSpec^>^ itemSpecs, 
    VersionSpec^ versionSpec, 
    DeletedState deletedState, 
    ItemType itemType, 
    array<PropertyValue^>^ propertyValues
)
[<WebMethodAttribute>]
member SetVersionedItemProperty : 
        workspaceName:string * 
        workspaceOwner:string * 
        itemSpecs:ItemSpec[] * 
        versionSpec:VersionSpec * 
        deletedState:DeletedState * 
        itemType:ItemType * 
        propertyValues:PropertyValue[] -> unit
public function SetVersionedItemProperty(
    workspaceName : String, 
    workspaceOwner : String, 
    itemSpecs : ItemSpec[], 
    versionSpec : VersionSpec, 
    deletedState : DeletedState, 
    itemType : ItemType, 
    propertyValues : PropertyValue[]
)

Parameters

.NET Framework Security

See Also

Reference

RepositoryExtensions Class

Microsoft.TeamFoundation.VersionControl.Server Namespace