VersionControlServer.GetVersionedItemProperty Method (ItemSpec[], VersionSpec, DeletedState, ItemType, String[])

Note: This API is now obsolete.

Gets a set of property values for the specified items.

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

[ObsoleteAttribute("Please use GetItems to retrieve versioned item attributes.", 
	false)]
public ArtifactPropertyValue[] GetVersionedItemProperty(
	ItemSpec[] itemSpecs,
	VersionSpec versionSpec,
	DeletedState deletedState,
	ItemType itemType,
	string[] propertyNameFilters
)

Parameters

itemSpecs
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]

Array of ItemSpec objects for which the property value is desired.

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

The VersionSpec of the item.

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

A flag describing whether to return deleted items and/or non-deleted items.

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

A flag describing whether to return files and/or folders.

propertyNameFilters
Type: System.String[]

An array of properties filters to query.

Return Value

Type: Microsoft.TeamFoundation.Framework.Client.ArtifactPropertyValue[]
An array of ArtifactPropertyValue object matched by the filters which have at least one of the specified properties set.

Show: