Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All

VersionControlServer.SetVersionedItemProperty Method (ItemSpec, VersionSpec, DeletedState, ItemType, String, Byte())

Note: This API is now obsolete.

Sets a property on a versioned item.

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

'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 Byte() _
)

Parameters

itemSpec
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.

propertyName
Type: System.String

The property to set.

value
Type: System.Byte()

The property value to set.

Show:
© 2015 Microsoft