SpeechRecognitionResult.RulePath Property
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
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.