共用方式為


PhoneLineDetails.RegistrationState 屬性

定義

取得電話線路中斷連線、住家或漫遊的註冊狀態。

public:
 property PhoneLineRegistrationState RegistrationState { PhoneLineRegistrationState get(); };
PhoneLineRegistrationState RegistrationState();
public PhoneLineRegistrationState RegistrationState { get; }
var phoneLineRegistrationState = phoneLineDetails.registrationState;
Public ReadOnly Property RegistrationState As PhoneLineRegistrationState

屬性值

手機的註冊狀態。

Windows 需求

應用程式功能
accessoryManager

備註

呼叫此 API 需要在應用程式資訊清單中指定 ID_CAP_SMSID_CAP_SMS_COMPANION 功能。

適用於