Delen via


ITestManagementTeamProject.DownloadAttachments Method (IList<ITestAttachment>, IList<String>)

 

Downloads a set of attachments to the specified paths.

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

Syntax

void DownloadAttachments(
    IList<ITestAttachment> attachments,
    IList<string> localFiles
)
void DownloadAttachments(
    IList<ITestAttachment^>^ attachments,
    IList<String^>^ localFiles
)
abstract DownloadAttachments : 
        attachments:IList<ITestAttachment> *
        localFiles:IList<string> -> unit
Sub DownloadAttachments (
    attachments As IList(Of ITestAttachment),
    localFiles As IList(Of String)
)

Parameters

Remarks

If an error occurs, the method throws an exception and stops. The local files are left in an undefined state.

See Also

ITestManagementTeamProject Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top