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.

ITestStep::CreateAttachment Method (String^)

 

Creates a new attachment from a local file.

Namespace:   Microsoft.TeamFoundation.TestManagement.Client
Assembly:  Microsoft.TeamFoundation.TestManagement.Client (in Microsoft.TeamFoundation.TestManagement.Client.dll)

ITestAttachment^ CreateAttachment(
	String^ localFileName
)

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.

Return to top
Show: