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 命名空间