FileUploadParameter – konstruktor (String, String, String)
Inicializuje novou instanci FileUploadParameter třídy pomocí parametru názvu, názvu souboru a typu obsahu.
Obor názvů: Microsoft.VisualStudio.TestTools.WebTesting
Sestavení: Microsoft.VisualStudio.QualityTools.WebTestFramework (v Microsoft.VisualStudio.QualityTools.WebTestFramework.dll)
Syntaxe
'Deklarace
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
)
Parametry
- name
Typ: System.String
Název parametru.
- fileName
Typ: System.String
Název souboru pro nahrání.
- contentType
Typ: System.String
Typ obsahu k odeslání.
Zabezpečení rozhraní .NET Framework
- Plná důvěra přímému volajícímu. Částečně zabezpečený kód nemůže tento člen použít. Další informace naleznete v tématu Používání knihoven z částečně důvěryhodného kódu.