VersionControlServer.GetVersionedItemProperty Method (array<ItemSpec[], VersionSpec, DeletedState, ItemType, array<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)
Syntax
'Declaration
<ObsoleteAttribute("Please use GetItems to retrieve versioned item attributes.", _
False)> _
Public Function GetVersionedItemProperty ( _
itemSpecs As ItemSpec(), _
versionSpec As VersionSpec, _
deletedState As DeletedState, _
itemType As ItemType, _
propertyNameFilters As String() _
) As ArtifactPropertyValue()
[ObsoleteAttribute("Please use GetItems to retrieve versioned item attributes.",
false)]
public ArtifactPropertyValue[] GetVersionedItemProperty(
ItemSpec[] itemSpecs,
VersionSpec versionSpec,
DeletedState deletedState,
ItemType itemType,
string[] propertyNameFilters
)
[ObsoleteAttribute(L"Please use GetItems to retrieve versioned item attributes.",
false)]
public:
array<ArtifactPropertyValue^>^ GetVersionedItemProperty(
array<ItemSpec^>^ itemSpecs,
VersionSpec^ versionSpec,
DeletedState deletedState,
ItemType itemType,
array<String^>^ propertyNameFilters
)
[<ObsoleteAttribute("Please use GetItems to retrieve versioned item attributes.",
false)>]
member GetVersionedItemProperty :
itemSpecs:ItemSpec[] *
versionSpec:VersionSpec *
deletedState:DeletedState *
itemType:ItemType *
propertyNameFilters:string[] -> ArtifactPropertyValue[]
public function GetVersionedItemProperty(
itemSpecs : ItemSpec[],
versionSpec : VersionSpec,
deletedState : DeletedState,
itemType : ItemType,
propertyNameFilters : String[]
) : ArtifactPropertyValue[]
Parameters
itemSpecs
Type: array<Microsoft.TeamFoundation.VersionControl.Client.ItemSpec[]Array of ItemSpec objects for which the property value is desired.
versionSpec
Type: Microsoft.TeamFoundation.VersionControl.Client.VersionSpecThe VersionSpec of the item.
deletedState
Type: Microsoft.TeamFoundation.VersionControl.Client.DeletedStateA flag describing whether to return deleted items and/or non-deleted items.
itemType
Type: Microsoft.TeamFoundation.VersionControl.Client.ItemTypeA flag describing whether to return files and/or folders.
propertyNameFilters
Type: array<System.String[]An array of properties filters to query.
Return Value
Type: array<Microsoft.TeamFoundation.Framework.Client.ArtifactPropertyValue[]
An array of ArtifactPropertyValue object matched by the filters which have at least one of the specified properties 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.