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
attachments
Type: System.Collections.Generic.IList<ITestAttachment>List of attachments to retrieve.
localFiles
Type: System.Collections.Generic.IList<String>File names in which to put attachments. This list must be the same length as attachments.
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