Information
The topic you requested is included in another documentation set. For convenience, it's displayed below. Choose Switch to see the topic in its original location.

ITestAttachment::DownloadToFile Method (String^)

 

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)

void DownloadToFile(
	String^ localFileName
)

Parameters

localFileName
Type: System::String^

Fully qualified name of the file.

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.

Return to top
Show: