WorkItemStore.GetWorkItemIdsForArtifactUris Method

A list of artifact links that are paired with their referencing work items.

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

Syntax

声明
Public Function GetWorkItemIdsForArtifactUris ( _
    artifactUriList As String(), _
    asOfDate As DateTime _
) As Dictionary(Of String, Integer())
public Dictionary<string, int[]> GetWorkItemIdsForArtifactUris(
    string[] artifactUriList,
    DateTime asOfDate
)
public:
Dictionary<String^, array<int>^>^ GetWorkItemIdsForArtifactUris(
    array<String^>^ artifactUriList, 
    DateTime asOfDate
)
member GetWorkItemIdsForArtifactUris : 
        artifactUriList:string[] * 
        asOfDate:DateTime -> Dictionary<string, int[]> 
public function GetWorkItemIdsForArtifactUris(
    artifactUriList : String[], 
    asOfDate : DateTime
) : Dictionary<String, int[]>

Parameters

  • artifactUriList
    Type: array<System.String[]
    An array of artifact links for which to retrieve work item IDs.

Return Value

Type: System.Collections.Generic.Dictionary<String, array<Int32[]>
A dictionary of work item URIs that reference the artifacts that are specified by artifactUriList.

Exceptions

Exception Condition
ArgumentNullException

At least one parameter was null.

ArgumentException

The artifactUriList has zero length or one of the elements in the list is null.

.NET Framework Security

See Also

Reference

WorkItemStore Class

Microsoft.TeamFoundation.WorkItemTracking.Client Namespace