Share via


SpeechRecognitionListConstraint.Commands 属性

定义

获取构成约束的单词或短语的数组。

public:
 property IVector<Platform::String ^> ^ Commands { IVector<Platform::String ^> ^ get(); };
IVector<winrt::hstring> Commands();
public IList<string> Commands { get; }
var iVector = speechRecognitionListConstraint.commands;
Public ReadOnly Property Commands As IList(Of String)

属性值

IVector<String>

IList<String>

IVector<Platform::String>

IVector<winrt::hstring>

构成约束的单词或短语的字符串数组。

注解

忽略对约束集合的修改。 必须创建新的 SpeechRecognitionListConstraint

适用于

另请参阅