VoiceCommandSet 클래스

정의

참고

VoiceCommandSet은 Windows Phone 8.1 이후 릴리스에서 변경되거나 사용할 수 없습니다. 대신 Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition을 사용합니다.

설치된 특정 명령 집합에서 작업을 사용하도록 설정합니다.

public ref class VoiceCommandSet sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VoiceCommandSet final
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Phone.PhoneContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
/// [Windows.Foundation.Metadata.Deprecated("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition instead of Windows.Media.SpeechRecognition.VoiceComandSet. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Phone.PhoneContract")]
class VoiceCommandSet final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class VoiceCommandSet
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Phone.PhoneContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
[Windows.Foundation.Metadata.Deprecated("Use Windows.ApplicationModel.VoiceCommands.VoiceCommandDefinition instead of Windows.Media.SpeechRecognition.VoiceComandSet. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Phone.PhoneContract")]
public sealed class VoiceCommandSet
Public NotInheritable Class VoiceCommandSet
상속
Object Platform::Object IInspectable VoiceCommandSet
특성

Windows 요구 사항

디바이스 패밀리
Windows Mobile Extension SDK (10.0.10240.0에서 도입되었습니다.)
API contract
Windows.Phone.PhoneContract (v1.0에서 도입되었습니다.)

설명

VoiceCommandManager.InstalledCommandSets 속성에 액세스하여 이 클래스의 instance 가져옵니다.

속성

Language

음성 명령 정의 파일에서 CommandSet 요소의 언어(xml:lang) 값을 가져옵니다.

Name

음성 명령 정의 파일에서 CommandSet 요소의 Name 특성 값을 가져옵니다.

메서드

SetPhraseListAsync(String, IIterable<String>)

Item 요소의 배열PhraseList 요소를 채웁니다.

적용 대상

추가 정보