Condividi tramite


SemanticState Enumeration

  Microsoft Speech Technologies Homepage

Enumerates the values of the State property of the SemanticItem control.

public enum SemanticState {
    Empty,
    NeedsConfirmation,
    Confirmed
};

Remarks

The values of SemanticState are:

  • Empty
    The default semantic state. A SemanticItem control in this state contains no data collected from the user. This state indicates to the RunSpeech dialog manager that the QA and Answer controls associated with the SemanticItem need to be activated in order to collect the data.
  • NeedsConfirmation
    A SemanticItem control in this state contains data collected from the user, and this data needs to be confirmed. This state indicates to the RunSpeech dialog manager that the QA and Answer controls that are associated with the SemanticItem need to be activated in order to confirm the data.
  • Confirmed
    A SemanticItem control in this state contains data collected from the user, and this data has been confirmed. This state indicates to the RunSpeech dialog manager that the QA and Answer controls associated with the SemanticItem have completed. These controls will not be activated again unless other controls or scripts on the page reset the State of the SemanticItem.