Nota
O acesso a esta página requer autorização. Pode tentar iniciar sessão ou alterar os diretórios.
O acesso a esta página requer autorização. Pode tentar alterar os diretórios.
![]() |
Gets or sets whether sound recording is enabled. Read/write.
Usage
| ASP.NET markup: | <speech:RecordSound Enabled="..." /> |
| Get value: | Boolean = RecordSound.Enabled; |
| Set value: | RecordSound.Enabled = Boolean; |
| Data type: | System.Boolean |
| Required: | No; Default: False |
Remarks
Declarative use of the Enabled property sets the property value when the control is rendered on the page. Once the page has been created, the Enabled property can be changed through scripting.
Example
<speech:RecordSound runat="server"
ID="RecordSound1"
Beep="True"
Type="audio/wav"
InitialTimeout="2500"
BabbleTimeout="2500"
MaxTimeout="5000"
EndSilence="2000"
StopOnDtmf=DtmfSquare
SavePartialRecord="True"
PlaybackUrlBase="http://www.cpandl.com/playback"
SavePath="d:\vdirs\playback"
SemanticItem="SemanticItem1"
Enabled="True"
>
</speech:RecordSound>
See Also
RecordSound Class | RecordSound Constructor | RecordSound Members | RecordSound Properties | RecordSound Methods | RecordSound Events | RecordSound Remarks
.jpg)