TranslationSource 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
TranslationSource(Uri) |
Initializes a new instance of TranslationSource. |
TranslationSource(Uri, String, String, String, String) |
Initializes a new instance of TranslationSource. |
TranslationSource(Uri)
- Source:
- TranslationSource.cs
- Source:
- TranslationSource.cs
Initializes a new instance of TranslationSource.
public TranslationSource (Uri sourceUri);
new Azure.AI.Translation.Document.TranslationSource : Uri -> Azure.AI.Translation.Document.TranslationSource
Public Sub New (sourceUri As Uri)
Parameters
- sourceUri
- Uri
Location of the folder / container or single file with your documents.
Exceptions
sourceUri
is null.
Applies to
TranslationSource(Uri, String, String, String, String)
- Source:
- TranslationSource.cs
Initializes a new instance of TranslationSource.
public TranslationSource (Uri sourceUri, string languageCode = default, string storageSource = default, string prefix = default, string suffix = default);
new Azure.AI.Translation.Document.TranslationSource : Uri * string * string * string * string -> Azure.AI.Translation.Document.TranslationSource
Public Sub New (sourceUri As Uri, Optional languageCode As String = Nothing, Optional storageSource As String = Nothing, Optional prefix As String = Nothing, Optional suffix As String = Nothing)
Parameters
- sourceUri
- Uri
Location of the folder / container or single file with your documents.
- languageCode
- String
Language code If none is specified, we will perform auto detect on the document
- storageSource
- String
Storage Source.
- prefix
- String
Document prefix filter.
- suffix
- String
Document suffix filter.
Applies to
Azure SDK for .NET