Hinweis
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, sich anzumelden oder das Verzeichnis zu wechseln.
Für den Zugriff auf diese Seite ist eine Autorisierung erforderlich. Sie können versuchen, das Verzeichnis zu wechseln.
![]() |
Gets or sets the ID of the SemanticItem control to which the path of the recorded file is written. Read/write.
Usage
| ASP.NET markup: | <speech:RecordSound SemanticItem="..." /> |
| Get value: | String = RecordSound.SemanticItem; |
| Set value: | RecordSound.SemanticItem = String; |
| Data type: | String |
| Required: | Yes |
Remarks
When the RecordSound control has completed a successful recording, its client-side SemanticItem object contains the following data:
- SemanticItem.value
The local path of the recorded file on the Telephony Application Services computer. - SemanticItem.state
"Confirmed" - SemanticItem.attributes["recordduration"]
The duration of the recorded file. - SemanticItem.attributes["recordsize"]
The size of the recorded file. - SemanticItem.attributes["recordtype"]
The type of the recorded file. - SemanticItem.attributes["dtmfkey"]
The DTMF key used to end recording, or "" if no DTMF key was pressed. - attributes["playbackurl"]
The PlaybackUrl of the recorded file (after postback), or "" (before postback).
Use the SemanticItem::GetAttribute function to access attribute data in client-side routines (See SemanticItem Client-Side Object). Use the SemanticItem.Attributes[AttributeName] syntax to access attribute data in server-side routines.
Example
<form id="Form1" method="post" runat="server">
...
<speech:SemanticMap runat="server">
<speech:SemanticItem ID="siRecordedFile" runat="server" />
</speech:SemanticMap>
<speech:RecordSound
Beep="True"
AutoPostBack="True"
EndSilence=500
StopOnDtmf=DtmfSquare
SavePartialRecord="True"
SemanticItem="siRecordedFile"
PlaybackUrlBase="http://www.cpandl.com/playback/"
SavePath="d:\vdirs\playback"
runat="server">
<Prompt Bargein="false"
InlinePrompt="Please leave your message after the beep and
press the pound sign when you are done.">
</Prompt>
</speech:RecordSound>
...
</form>
See Also
RecordSound Class | RecordSound Constructor | RecordSound Members | RecordSound Properties | RecordSound Methods | RecordSound Events | RecordSound Remarks
.jpg)