CortanaSettings.IsSupported Metode
Definisi
Penting
Beberapa informasi terkait produk prarilis yang dapat diubah secara signifikan sebelum dirilis. Microsoft tidak memberikan jaminan, tersirat maupun tersurat, sehubungan dengan informasi yang diberikan di sini.
Mengambil apakah pengaturan Cortana didukung.
public:
static bool IsSupported();
static bool IsSupported();
/// [Windows.Foundation.Metadata.Deprecated("ICortanaSettingsStatics is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.System.SystemManagementContract")]
static bool IsSupported();
public static bool IsSupported();
[Windows.Foundation.Metadata.Deprecated("ICortanaSettingsStatics is deprecated and might not work on all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.System.SystemManagementContract")]
public static bool IsSupported();
function isSupported()
Public Shared Function IsSupported () As Boolean
Mengembalikan
Boolean
bool
true jika pengaturan Cortana didukung. Jika tidak, salah.
- Atribut
Keterangan
Kelas CortanaSettings mengharuskan hal berikut ditambahkan ke Package.appmanifest:
- Ke <Paket>
IgnorableNamespaces="iot"
- Di bawah <Kapabilitas>
<iot:Capability Name="systemManagement"/>