Anteckning
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Initializes a new instance of the FileUploadParameter class using the parameter name, file name and the type of content.
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 _
)
public FileUploadParameter(
string name,
string fileName,
string contentType
)
public:
FileUploadParameter(
String^ name,
String^ fileName,
String^ contentType
)
new :
name:string *
fileName:string *
contentType:string -> FileUploadParameter
public function FileUploadParameter(
name : String,
fileName : String,
contentType : String
)
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.