http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2
TranslateArray2Response Complex Type
http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2 : TranslateArray2Response 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 Alignment Element Sequence TranslateArray2Response Complex Type
Overview
Sequence
Alignment optional xs:string
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
TranslateArray2Response Element (http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2)
TranslateArray2Response Element (http://schemas.datacontract.org/2004/07/Microsoft.MT.Web.Service.V2)
Source
<xs:complexType name="TranslateArray2Response" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:sequence>
    <xs:element minOccurs="0" name="Alignment" 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="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="q3:ArrayOfint" xmlns:q3="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="q4:ArrayOfint" xmlns:q4="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