Delen via


MultipartFormFileData Constructors

Definition

Overloads

MultipartFormFileData(String, Stream, String)

Construct a form file data.

MultipartFormFileData(String, Stream, String, IDictionary<String,String>)

Construct a form file data.

MultipartFormFileData(String, Stream, String)

Source:
MultipartFormFileData.cs

Construct a form file data.

public MultipartFormFileData (string name, System.IO.Stream content, string contentType);
new Azure.AI.Translation.Document.MultipartFormFileData : string * System.IO.Stream * string -> Azure.AI.Translation.Document.MultipartFormFileData
Public Sub New (name As String, content As Stream, contentType As String)

Parameters

name
String

Name of the file

content
Stream

Content of the file.

contentType
String

Content type of the file.

Applies to

MultipartFormFileData(String, Stream, String, IDictionary<String,String>)

Source:
MultipartFormFileData.cs

Construct a form file data.

public MultipartFormFileData (string name, System.IO.Stream content, string contentType, System.Collections.Generic.IDictionary<string,string> headers);
new Azure.AI.Translation.Document.MultipartFormFileData : string * System.IO.Stream * string * System.Collections.Generic.IDictionary<string, string> -> Azure.AI.Translation.Document.MultipartFormFileData
Public Sub New (name As String, content As Stream, contentType As String, headers As IDictionary(Of String, String))

Parameters

name
String

Name of the file

content
Stream

Content of the file.

contentType
String

Content type of the file.

headers
IDictionary<String,String>

Optional headers appended to the file.

Applies to