Partager via


NavigableListActivity.DtmfGrammars Property

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.

Gets the collection of DTMF grammars that are active during the navigation (or get) phase.

Namespace: Microsoft.SpeechServer.Dialog
Assembly: Microsoft.SpeechServer (in microsoft.speechserver.dll)

Syntax

'Declaration
<DesignerButtonAttribute(4, "Designer_AttachDtmfGrammars", "ActionDtmfGrammar", ConvertMethod:="FromGrammar", MasterProperty:="Grammars")> _
<PropertyCodeDomAttribute("ActionGrammarsSerializer")> _
<EditorAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.GenericSpeechUITypeEditor, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", GetType(UITypeEditor))> _
<PropertyBuilderTabAttribute(4, "Tab_DtmfGrammars")> _
<DisplayNameAttribute("DTMF Grammar")> _
<TypeConverterAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.GrammarCollectionConverter, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")> _
<GlobalizedCategoryAttribute("SpeechCategory")> _
<GlobalizedDescriptionAttribute("DialogActivityCommon_DtmfGrammars")> _
<SpeechCustomMarkupSerializerAttribute> _
<PropertyEditorPanelAttribute("DtmfActionGrammarsPanelAdapter")> _
Public Property DtmfGrammars As GrammarCollection
[DesignerButtonAttribute(4, "Designer_AttachDtmfGrammars", "ActionDtmfGrammar", ConvertMethod="FromGrammar", MasterProperty="Grammars")] 
[PropertyCodeDomAttribute("ActionGrammarsSerializer")] 
[EditorAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.GenericSpeechUITypeEditor, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35", typeof(UITypeEditor))] 
[PropertyBuilderTabAttribute(4, "Tab_DtmfGrammars")] 
[DisplayNameAttribute("DTMF Grammar")] 
[TypeConverterAttribute("Microsoft.SpeechServer.Authoring.DialogDesigner.GrammarCollectionConverter, Microsoft.SpeechServer.Authoring.DialogDesigner, Version=2.0.3400.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35")] 
[GlobalizedCategoryAttribute("SpeechCategory")] 
[GlobalizedDescriptionAttribute("DialogActivityCommon_DtmfGrammars")] 
[SpeechCustomMarkupSerializerAttribute] 
[PropertyEditorPanelAttribute("DtmfActionGrammarsPanelAdapter")] 
public GrammarCollection DtmfGrammars { get; }

Property Value

A GrammarCollection that contains a list of the DTMF grammars that are active during the navigation phase.

Remarks

The ConfirmationGrammars property contains a list of the speech grammars that are active during the confirmation phase. The Grammars property contains a list of the speech grammars that are active during the navigation (or get) phase. The ConfirmationDtmfGrammars property contains a list of the DTMF grammars that are active during the confirmation phase.

Thread Safety

All public static (Shared in Visual Basic) members of this type are thread-safe. 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

NavigableListActivity Class
NavigableListActivity Members
Microsoft.SpeechServer.Dialog Namespace
GrammarCollection Class
NavigableListActivity.ConfirmationGrammars Property
Grammars
NavigableListActivity.ConfirmationDtmfGrammars Property