VersionControlServer.SetVersionedItemProperty Method (array<ItemSpec[], VersionSpec, DeletedState, ItemType, array<PropertyValue )
Note: This API is now obsolete.
Sets a property on an array of versioned items.
Namespace: Microsoft.TeamFoundation.VersionControl.Client
Assembly: Microsoft.TeamFoundation.VersionControl.Client (in Microsoft.TeamFoundation.VersionControl.Client.dll)
Syntax
'Declaration
<ObsoleteAttribute("Please use SetVersionedItemAttribute to set attributes on versioned items.", _
False)> _
Public Sub SetVersionedItemProperty ( _
itemSpecs As ItemSpec(), _
versionSpec As VersionSpec, _
deletedState As DeletedState, _
itemType As ItemType, _
propertyValues As PropertyValue() _
)
[ObsoleteAttribute("Please use SetVersionedItemAttribute to set attributes on versioned items.",
false)]
public void SetVersionedItemProperty(
ItemSpec[] itemSpecs,
VersionSpec versionSpec,
DeletedState deletedState,
ItemType itemType,
PropertyValue[] propertyValues
)
[ObsoleteAttribute(L"Please use SetVersionedItemAttribute to set attributes on versioned items.",
false)]
public:
void SetVersionedItemProperty(
array<ItemSpec^>^ itemSpecs,
VersionSpec^ versionSpec,
DeletedState deletedState,
ItemType itemType,
array<PropertyValue^>^ propertyValues
)
[<ObsoleteAttribute("Please use SetVersionedItemAttribute to set attributes on versioned items.",
false)>]
member SetVersionedItemProperty :
itemSpecs:ItemSpec[] *
versionSpec:VersionSpec *
deletedState:DeletedState *
itemType:ItemType *
propertyValues:PropertyValue[] -> unit
public function SetVersionedItemProperty(
itemSpecs : ItemSpec[],
versionSpec : VersionSpec,
deletedState : DeletedState,
itemType : ItemType,
propertyValues : PropertyValue[]
)
Parameters
itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]The array of VersionSpec objects of the items.
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.