CS_JobSubmit_Voice_TTS.txt

In this example, when creating the ContentPartType for the contents the ContentPartType.Item is set twice:

            JS_Content[0].Item = "TTS";
            JS_Content[0].Item = JS_Documents[0];

Which is correct here?

Comments

  • In case you didn't get an answer to your question, the second line is correct.

    The sample works because the second line simply overrides what was specified in the first.