共用方式為


VoiceCommandDisambiguationResult 類別

定義

Cortana 畫布上顯示的混淆畫面取得的結果。

從背景應用程式服務呼叫 RequestDisambiguationAsync 會導致 Cortana 顯示模棱兩可畫面。

public ref class VoiceCommandDisambiguationResult sealed
/// [Windows.Foundation.Metadata.ContractVersion(Windows.Foundation.UniversalApiContract, 65536)]
/// [Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
class VoiceCommandDisambiguationResult final
[Windows.Foundation.Metadata.ContractVersion(typeof(Windows.Foundation.UniversalApiContract), 65536)]
[Windows.Foundation.Metadata.MarshalingBehavior(Windows.Foundation.Metadata.MarshalingType.Agile)]
public sealed class VoiceCommandDisambiguationResult
Public NotInheritable Class VoiceCommandDisambiguationResult
繼承
Object Platform::Object IInspectable VoiceCommandDisambiguationResult
屬性

Windows 需求

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

備註

在參考適當Windows.ApplicationModel.AppService物件的VoiceCommandServiceConnection上呼叫RequestDisambiguationAsync,以存取VoiceCommandDisambiguationResult物件。

屬性

SelectedItem

Cortana 反模棱兩可畫面上顯示的專案清單中選取的專案。

適用於

另請參閱