VersionControlServer.SetVersionedItemAttribute Method (ItemSpec(), VersionSpec, DeletedState, ItemType, 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)

'Declaration
Public Sub SetVersionedItemAttribute ( _
	itemSpecs As ItemSpec(), _
	versionSpec As VersionSpec, _
	deletedState As DeletedState, _
	itemType As ItemType, _
	propertyValues As PropertyValue() _
)

Parameters

itemSpecs
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec()

The ItemSpec of the item.

versionSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpec

The VersionSpec of the item.

deletedState
Type: Microsoft.TeamFoundation.VersionControl.Client.DeletedState

A flag describing whether to set the property on deleted items and/or non-deleted items.

itemType
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemType

A flag describing whether to set the property on files and/or folders.

propertyValues
Type: Microsoft.TeamFoundation.Framework.Client.PropertyValue()

The property values to set.

Show: