locked
Question/answer activity RRS feed

  • Question

  • I used a question/answer activity and put a message and grammar into it. What is the syntax to get user response for the question.answer activity.

    Wednesday, January 2, 2008 12:03 PM

Answers

  • use

    syntax:

    string answer = questionansweractivityname.RecognitionResult.Semantics["nameofgrammer"].Value.ToString()

     

    it is better you take code activity after the queestion answer activity and then write above code.

     

    Wednesday, January 2, 2008 12:17 PM