共用方式為


VersionControlServer.SetVersionedItemAttribute Method (array<ItemSpec[], VersionSpec, DeletedState, ItemType, array<PropertyValue )

Sets the attributes associated with the versioned item.

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

Syntax

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

Parameters

.NET Framework Security

See Also

Reference

VersionControlServer Class

SetVersionedItemAttribute Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace