Partager via


FileUploadParameter Constructor (String, String, String, Boolean)

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

Syntax

'Declaration
Public Sub New ( _
    name As String, _
    fileName As String, _
    contentType As String, _
    generateUniqueName As Boolean _
)
public FileUploadParameter(
    string name,
    string fileName,
    string contentType,
    bool generateUniqueName
)
public:
FileUploadParameter(
    String^ name, 
    String^ fileName, 
    String^ contentType, 
    bool generateUniqueName
)
new : 
        name:string * 
        fileName:string * 
        contentType:string * 
        generateUniqueName:bool -> FileUploadParameter
public function FileUploadParameter(
    name : String, 
    fileName : String, 
    contentType : String, 
    generateUniqueName : boolean
)

Parameters

  • name
    Type: String
  • fileName
    Type: String
  • contentType
    Type: String
  • generateUniqueName
    Type: Boolean

.NET Framework Security

See Also

Reference

FileUploadParameter Class

FileUploadParameter Overload

Microsoft.VisualStudio.TestTools.WebTesting Namespace