SpeechRecognitionResult.RuleName property

Gets the rule element in a Speech Recognition Grammar Specification (SRGS) grammar that was triggered to return the recognized phrase.

Syntax

public string RuleName { get; }
Public ReadOnly Property RuleName As String
public:
property String^ RuleName { 
   String^ get();
}

Property value

Type: System.String [.NET] | Platform::String [C++]

The value of the id attribute of the rule element of a Speech Recognition Grammar Specification (SRGS) grammar that was triggered to return the recognized phrase.

Requirements

Minimum supported client

None supported

Minimum supported server

None supported

Minimum supported phone

Windows Phone 8

Namespace

Windows.Phone.Speech.Recognition Windows::Phone::Speech::Recognition [C++]

Metadata

Windows.WinMD

Capabilities

ID_CAP_SPEECH_RECOGNITION [Windows Phone] ID_CAP_MICROPHONE [Windows Phone] ID_CAP_NETWORKING [Windows Phone]

See also

SpeechRecognitionResult