IVoiceCommandActivatedEventArgs 介面

定義

表示啟動的事件物件,此物件包含透過語音命令啟動應用程式時的事件資訊。

public interface class IVoiceCommandActivatedEventArgs : IActivatedEventArgs
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.Guid(2878528765, 36163, 19942, 151, 117, 32, 112, 75, 88, 27, 0)]
struct IVoiceCommandActivatedEventArgs : IActivatedEventArgs
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.Guid(2878528765, 36163, 19942, 151, 117, 32, 112, 75, 88, 27, 0)]
public interface IVoiceCommandActivatedEventArgs : IActivatedEventArgs
Public Interface IVoiceCommandActivatedEventArgs
Implements IActivatedEventArgs
衍生
屬性
實作

Windows 需求

裝置系列
Windows 10 (已於 10.0.10240.0 引進)
API contract
Windows.Foundation.UniversalApiContract (已於 v1.0 引進)

屬性

Kind

取得啟動此應用程式的原因。

(繼承來源 IActivatedEventArgs)
PreviousExecutionState

取得此啟用之前的應用程式執行狀態。

(繼承來源 IActivatedEventArgs)
Result

取得 SpeechRecognitionResult 物件,代表啟動應用程式的語音命令。

SplashScreen

取得啟動顯示畫面物件,提供從啟動顯示畫面轉換至啟動應用程式的相關資訊。

(繼承來源 IActivatedEventArgs)

適用於

另請參閱