コード例 #1
0
 /// <summary>
 /// Download the associated work item attachment.
 /// </summary>
 private void Download()
 {
     if (null == _localFile)
     {
         _localFile = new FileInfo(TempFolder.CreateTemporaryFile());
         DownloadWebFile(_attachment.Uri, _workItem.WorkItem.Store.TeamProjectCollection.Credentials,
                         _localFile.FullName);
     }
 }