ITestAttachment.DownloadToFile Method
Downloads the attachment contents to the named file after the associated work item has been saved to the server.
Namespace: Microsoft.TeamFoundation.TestManagement.Client
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Syntax
'Declaration
Sub DownloadToFile ( _
localFileName As String _
)
void DownloadToFile(
string localFileName
)
void DownloadToFile(
String^ localFileName
)
abstract DownloadToFile :
localFileName:string -> unit
function DownloadToFile(
localFileName : String
)
Parameters
localFileName
Type: StringFully qualified name of the file.
Remarks
If this M:Microsoft.TeamFoundation.TestManagement.Client.ITestAttachment.DownloadToFile(System.String) method is called before the attachment has been completely uploaded, the method returns the local file and does not throw an exception.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.