http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2
TranslateArrayResponse Complex Type
http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2 : TranslateArrayResponse Complex Type
Namespace http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2
Diagram
int Element Sequence TranslatedTextSentenceLengths Element TranslatedText Element State Element int Element Sequence OriginalTextSentenceLengths Element From Element Error Element Sequence TranslateArrayResponse Complex Type
Overview
Sequence
Error optional xs:string
Indicates an error if one has occurred. Otherwise set to null.
From optional xs:string
A string containing the language code of the source language. Must be a valid culture name.
OriginalTextSentenceLengths optional ArrayOfint Complex Type
An array of integers indicating the length of each sentence in the original source text. The length of the array indicates the number of sentences.
Sequence
int 0..∞ xs:int
State optional xs:string
User state to help correlate request and response. Returns the same content as in the request.
TranslatedText optional xs:string
The translated text.
TranslatedTextSentenceLengths optional ArrayOfint Complex Type
An array of integers indicating the length of each sentence in the translated text. The length of the array indicates the number of sentences.
Sequence
int 0..∞ xs:int
Used By
TranslateArrayResponse Element (http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2)
TranslateArrayResponse Element (http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2)
Source
<xs:complexType name="TranslateArrayResponse" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="Error" nillable="true" type="xs:string">
      <xs:annotation>
        <xs:appinfo>
          <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
        </xs:appinfo>
      </xs:annotation>
    </xs:element>
    <xs:element minOccurs="0" name="From" nillable="true" type="xs:string">
      <xs:annotation>
        <xs:appinfo>
          <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
        </xs:appinfo>
      </xs:annotation>
    </xs:element>
    <xs:element minOccurs="0" name="OriginalTextSentenceLengths" nillable="true" type="q1:ArrayOfint" xmlns:q1="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <xs:annotation>
        <xs:appinfo>
          <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
        </xs:appinfo>
      </xs:annotation>
    </xs:element>
    <xs:element minOccurs="0" name="State" nillable="true" type="xs:string">
      <xs:annotation>
        <xs:appinfo>
          <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
        </xs:appinfo>
      </xs:annotation>
    </xs:element>
    <xs:element minOccurs="0" name="TranslatedText" nillable="true" type="xs:string">
      <xs:annotation>
        <xs:appinfo>
          <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
        </xs:appinfo>
      </xs:annotation>
    </xs:element>
    <xs:element minOccurs="0" name="TranslatedTextSentenceLengths" nillable="true" type="q2:ArrayOfint" xmlns:q2="http://schemas.microsoft.com/2003/10/Serialization/Arrays">
      <xs:annotation>
        <xs:appinfo>
          <DefaultValue EmitDefaultValue="false" xmlns="http://schemas.microsoft.com/2003/10/Serialization/" />
        </xs:appinfo>
      </xs:annotation>
    </xs:element>
  </xs:sequence>
</xs:complexType>
See Also
http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2