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.

FileUploadParameter Constructor (String^, String^, String^, Boolean)

 

Initializes a new instance of the FileUploadParameter class using the parameter name, file name, type of content and a boolean value to generate a unique name..

Namespace:   Microsoft.VisualStudio.TestTools.WebTesting
Assembly:  Microsoft.VisualStudio.QualityTools.WebTestFramework (in Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)

public:
FileUploadParameter(
	String^ name,
	String^ fileName,
	String^ contentType,
	bool generateUniqueName
)

Parameters

name
Type: System::String^

The parameter name.

fileName
Type: System::String^

The name of the file to upload.

contentType
Type: System::String^

Type of content to upload.

generateUniqueName
Type: System::Boolean

true to generate a unique name for the file; otherwise, false.

Return to top
Show: