Share via


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)

Syntax

void DownloadToFile(
    string localFileName
)
void DownloadToFile(
    String^ localFileName
)
abstract DownloadToFile : 
        localFileName:string -> unit
Sub DownloadToFile (
    localFileName As String
)

Parameters

  • localFileName
    Type: System.String

    Fully 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.

See Also

DownloadToArray
ITestAttachment Interface
Microsoft.TeamFoundation.TestManagement.Client Namespace

Return to top