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
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.
Azure SDK for .NET