共用方式為


PhoneCallOriginManager.IsSupported 屬性

定義

如果支援 PhoneCallOriginManager API,則會傳回 true;如果不支援則傳回 false。 如需例外狀況,請參閱備註。

public:
 static property bool IsSupported { bool get(); };
static bool IsSupported();
/// [get: Windows.Foundation.Metadata.Deprecated("PhoneCallOriginManager is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")]
static bool IsSupported();
public static bool IsSupported { get; }
public static bool IsSupported { [Windows.Foundation.Metadata.Deprecated("PhoneCallOriginManager is deprecated and might not work for all platforms. For more info, see MSDN.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 458752, "Windows.ApplicationModel.Calls.CallsPhoneContract")] get; }
var boolean = PhoneCallOriginManager.isSupported;
Public Shared ReadOnly Property IsSupported As Boolean

屬性值

Boolean

bool

bool,表示是否支援 PhoneCallOriginManager API。

屬性

Windows 需求

裝置系列
Windows 10, version 1903 (已於 10.0.18362.0 引進)
API contract
Windows.ApplicationModel.Calls.CallsPhoneContract (已於 v5.0 引進)

備註

例外狀況:支援 SetCallOrigin API,且不受此 API 影響

適用於