Delen via


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

  • 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

See Also

Reference

VersionControlServer Class

GetVersionedItemProperty Overload

Microsoft.TeamFoundation.VersionControl.Client Namespace