共用方式為


ITestManagementTeamProject.DownloadAttachments 方法

下載一組附件到指定的路徑。

命名空間:  Microsoft.TeamFoundation.TestManagement.Client
組件:  Microsoft.TeamFoundation.TestManagement.Client (在 Microsoft.TeamFoundation.TestManagement.Client.dll 中)

語法

'宣告
Sub DownloadAttachments ( _
    attachments As IList(Of ITestAttachment), _
    localFiles As IList(Of String) _
)
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 
function DownloadAttachments(
    attachments : IList<ITestAttachment>, 
    localFiles : IList<String>
)

參數

備註

如果發生錯誤,方法會擲回例外狀況並停止。本機檔案處於未定義的狀態。

.NET Framework 安全性

請參閱

參考

ITestManagementTeamProject 介面

Microsoft.TeamFoundation.TestManagement.Client 命名空間