DocumentTranslationModelFactory.DocumentTranslationFileFormat Method
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
DocumentTranslationFileFormat(String, IEnumerable<String>, IEnumerable<String>, String, IEnumerable<String>, Nullable<FileFormatType>)
Initializes a new instance of DocumentTranslationFileFormat.
public static Azure.AI.Translation.Document.DocumentTranslationFileFormat DocumentTranslationFileFormat (string format = default, System.Collections.Generic.IEnumerable<string> fileExtensions = default, System.Collections.Generic.IEnumerable<string> contentTypes = default, string defaultFormatVersion = default, System.Collections.Generic.IEnumerable<string> formatVersions = default, Azure.AI.Translation.Document.FileFormatType? type = default);
static member DocumentTranslationFileFormat : string * seq<string> * seq<string> * string * seq<string> * Nullable<Azure.AI.Translation.Document.FileFormatType> -> Azure.AI.Translation.Document.DocumentTranslationFileFormat
Public Shared Function DocumentTranslationFileFormat (Optional format As String = Nothing, Optional fileExtensions As IEnumerable(Of String) = Nothing, Optional contentTypes As IEnumerable(Of String) = Nothing, Optional defaultFormatVersion As String = Nothing, Optional formatVersions As IEnumerable(Of String) = Nothing, Optional type As Nullable(Of FileFormatType) = Nothing) As DocumentTranslationFileFormat
Parameters
- format
- String
Name of the format.
- fileExtensions
- IEnumerable<String>
Supported file extension for this format.
- contentTypes
- IEnumerable<String>
Supported Content-Types for this format.
- defaultFormatVersion
- String
Default version if none is specified.
- formatVersions
- IEnumerable<String>
Supported Version.
- type
- Nullable<FileFormatType>
Supported Type for this format.
Returns
A new DocumentTranslationFileFormat instance for mocking.
Applies to
DocumentTranslationFileFormat(String, IEnumerable<String>, IEnumerable<String>, String, IEnumerable<String>, String)
Initializes a new instance of DocumentTranslationFileFormat.
public static Azure.AI.Translation.Document.DocumentTranslationFileFormat DocumentTranslationFileFormat (string format = default, System.Collections.Generic.IEnumerable<string> fileExtensions = default, System.Collections.Generic.IEnumerable<string> contentTypes = default, string defaultFormatVersion = default, System.Collections.Generic.IEnumerable<string> formatVersions = default, string type = default);
static member DocumentTranslationFileFormat : string * seq<string> * seq<string> * string * seq<string> * string -> Azure.AI.Translation.Document.DocumentTranslationFileFormat
Public Shared Function DocumentTranslationFileFormat (Optional format As String = Nothing, Optional fileExtensions As IEnumerable(Of String) = Nothing, Optional contentTypes As IEnumerable(Of String) = Nothing, Optional defaultFormatVersion As String = Nothing, Optional formatVersions As IEnumerable(Of String) = Nothing, Optional type As String = Nothing) As DocumentTranslationFileFormat
Parameters
- format
- String
Name of the format.
- fileExtensions
- IEnumerable<String>
Supported file extension for this format.
- contentTypes
- IEnumerable<String>
Supported Content-Types for this format.
- defaultFormatVersion
- String
Default version if none is specified.
- formatVersions
- IEnumerable<String>
Supported Version.
- type
- String
Supported Type for this format.
Returns
A new DocumentTranslationFileFormat instance for mocking.