Share via


SpeechRecognitionResult.RulePath Property

Definition

Gets the hierarchy of rule elements that were triggered to return the recognized phrase.

public:
 property IVectorView<Platform::String ^> ^ RulePath { IVectorView<Platform::String ^> ^ get(); };
IVectorView<winrt::hstring> RulePath();
public IReadOnlyList<string> RulePath { get; }
var iVectorView = speechRecognitionResult.rulePath;
Public ReadOnly Property RulePath As IReadOnlyList(Of String)

Property Value

IVectorView<String>

IReadOnlyList<String>

IVectorView<Platform::String>

IVectorView<winrt::hstring>

An array that represents the hierarchy of rule elements that were triggered to return the recognized phrase. Each value in the array contains the value of the id attribute for a rule element. The order of values in the array corresponds to the order that the rules were triggered.

Applies to

See also