VersionControlServer.SetVersionedItemAttribute Method (ItemSpec, VersionSpec, DeletedState, ItemType, String, Byte[])
Visual Studio 2012
Sets the attributes associated with the versioned item.
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
public void SetVersionedItemAttribute( ItemSpec itemSpec, VersionSpec versionSpec, DeletedState deletedState, ItemType itemType, string propertyName, byte[] value )
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: String
The property to set.
- value
- Type: Byte[]
The property values to set.
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.