Share via


YesNo Class

This content is no longer actively maintained. It is provided as is, for anyone who may still be using these technologies, with no warranties or claims of accuracy with regard to the most recent product version or service release.

Creates Application Speech Controls that collect a yes or no.

Namespace: Microsoft.Speech.Web.UI
Assembly: Microsoft.Speech.Web (in microsoft.speech.web.dll)

Syntax

'Declaration
<ToolboxDataAttribute("<{0}:YesNo runat='server'></{0}:YesNo>")> _
<AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
<AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level:=AspNetHostingPermissionLevel.Minimal)> _
Public Class YesNo
    Inherits ApplicationControlWithOneSemanticItem
[ToolboxDataAttribute("<{0}:YesNo runat=\'server\'></{0}:YesNo>")] 
[AspNetHostingPermissionAttribute(SecurityAction.InheritanceDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
[AspNetHostingPermissionAttribute(SecurityAction.LinkDemand, Level=AspNetHostingPermissionLevel.Minimal)] 
public class YesNo : ApplicationControlWithOneSemanticItem

Inheritance Hierarchy

System.Object
???? System.Web.UI.Control
???????? System.Web.UI.WebControls.WebControl
???????????? Microsoft.Speech.Web.UI.SpeechControl
???????????????? Microsoft.Speech.Web.UI.IndexedSpeechControl
???????????????????? Microsoft.Speech.Web.UI.SpeechControlContainer
???????????????????????? Microsoft.Speech.Web.UI.ApplicationControl
???????????????????????????? Microsoft.Speech.Web.UI.ApplicationControlWithPostback
???????????????????????????????? Microsoft.Speech.Web.UI.ApplicationControlWithOneSemanticItem
????????????????????????????????????Microsoft.Speech.Web.UI.YesNo

Thread Safety

Any public static (Shared in Visual Basic) members of this class are safe for multi-threaded operations. Any instance members are not guaranteed to be thread-safe.

Platforms

Development Platforms

Windows XP Professional with Service Pack 2 (SP2), Windows Server 2003, Windows Vista Ultimate Edition, Windows Vista Business Edition, Windows Vista Enterprise Edition

Target Platforms

Windows Server 2003

See Also

Reference

YesNo Members
Microsoft.Speech.Web.UI Namespace