Type Property
Gets or sets the MIME type of the recording. Read/write.
Usage
ASP.NET markup: | <speech:Record Type="..." /> |
Get value: | String = Record.Type; |
Set value: | Record.Type = String; |
Data type: | String |
Required: | No; Default: audio/x-wav |
Remarks
The Type property mirrors the type attribute on the SALT record element.
Example
<form id="Form1" method="post" runat="server">
...
<speech:QA ID="qaDest" SpeechIndex="4" runat="server">
<Reco Beep="True" >
<Record ID="recordDest" Enabled="True" Type="audio/x-wav" runat="server"/>
</Reco>
<Prompt InlinePrompt="And what is your destination?" />
<Answers>
<speech:Answer XPathTrigger="/SML/DestCity" SemanticItem="siDest" runat="server"/>
</Answers>
</speech:QA>
...
</form>
See Also
Record Class | Record Constructor | Record Members | Record Properties | Record Methods | Record Events | Record Remarks