共用方式為


FileUploadParameter 建構函式 (String, String, String, Boolean)

命名空間:  Microsoft.VisualStudio.TestTools.WebTesting
組件:  Microsoft.VisualStudio.QualityTools.WebTestFramework (在 Microsoft.VisualStudio.QualityTools.WebTestFramework.dll 中)

語法

'宣告
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
)

參數

  • name
    類型:String
  • fileName
    類型:String
  • contentType
    類型:String
  • generateUniqueName
    類型:Boolean

.NET Framework 安全性

請參閱

參考

FileUploadParameter 類別

FileUploadParameter 多載

Microsoft.VisualStudio.TestTools.WebTesting 命名空間