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
Совместная работа с нами на GitHub
Источник этого содержимого можно найти на GitHub, где также можно создавать и просматривать проблемы и запросы на вытягивание. Дополнительные сведения см. в нашем руководстве для участников.
Azure SDK for .NET