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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.
Azure SDK for .NET