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.
ITestStep::CreateAttachment Method (String^)
Creates a new attachment from a local file.
Assembly: Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)
Parameters
- localFileName
-
Type:
System::String^
The path and name of the file to attach.
Return Value
Type: Microsoft.TeamFoundation.TestManagement.Client::ITestAttachment^A new test attachment.
The attachment must be added to the Attachments after it is created.
Show: