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 功能。

适用于