DocumentTranslationModelFactory.DocumentTranslateContent 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.
Initializes a new instance of DocumentTranslateContent.
public static Azure.AI.Translation.Document.DocumentTranslateContent DocumentTranslateContent (System.IO.Stream document = default, System.Collections.Generic.IEnumerable<System.IO.Stream> glossary = default);
static member DocumentTranslateContent : System.IO.Stream * seq<System.IO.Stream> -> Azure.AI.Translation.Document.DocumentTranslateContent
Public Shared Function DocumentTranslateContent (Optional document As Stream = Nothing, Optional glossary As IEnumerable(Of Stream) = Nothing) As DocumentTranslateContent
Parameters
- document
- Stream
Document to be translated in the form.
- glossary
- IEnumerable<Stream>
Glossary-translation memory will be used during translation in the form.
Returns
A new DocumentTranslateContent instance for mocking.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.
Azure SDK for .NET