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
itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]The ItemSpec of the item.
versionSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe VersionSpec of the item.
deletedState
Type: Microsoft.TeamFoundation.VersionControl.Client.DeletedStateA flag describing whether to set the property on deleted items and/or non-deleted items.
itemType
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemTypeA flag describing whether to set the property on files and/or folders.
propertyValues
Type: array<Microsoft.TeamFoundation.Framework.Client.PropertyValue[]The property values to set.
.NET Framework Security
- 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.