Partilhar via


Value Property

  Microsoft Speech Technologies Homepage

Gets or sets the value of the parameter being configured. Read/write.

Usage

ASP.NET markup: <speech:Param Name="..."> Value </speech:Param>
Get value: String = Param.Value;
Set value: Param.Value = String;
Data type: String
Required: Yes

Remarks

Contents of the Value property are placed between the opening and closing Param tags.

Example

<form id="Form1" method="post" runat="server">
  ...
  <speech:QA runat="server" id="QADest" >
    <Prompt InlinePrompt="Please select a destination city" ID="Prompt1">
        <Params>
          <speech:Param Name="bargeintype">final</speech:Param>
        </Params>
    </Prompt>
    <Answers>
      <speech:Answer SemanticItem="siDest" ID="AnsDest" XPathTrigger="/SML/CITY">
      </speech:Answer>
    </Answers>

    <Reco InitialTimeout="3000" BabbleTimeout="10000"
        EndSilence="1000" MaxTimeout="30000" Reject="0.5" >
      <Grammars>
        <speech:Grammar Type="application/srgs+xml" Lang="en-US"
          Src="Grammars/Cities.grxml" >
        </speech:Grammar>
      </Grammars>
    </Reco>

  </speech:QA>
  ...
</form>

See Also

Param Class | Param Constructor | Param Members | Param Properties | Param Methods | Param Events | Param Remarks