MultipartFormFileData Constructors
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
- 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
- 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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET