SmsDevice.CellularClass 属性

定义

返回 SMS 设备的手机网络类。 类可用于确定哪些编码适用或哪些设备限制有效。

public:
 property CellularClass CellularClass { CellularClass get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("SmsDevice may be altered or unavailable for releases after Windows 10. Instead, use SmsDevice2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
CellularClass CellularClass();
/// [get: Windows.Foundation.Metadata.Deprecated("SmsDevice may be altered or unavailable for releases after Windows 10. Instead, use SmsDevice2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
CellularClass CellularClass();
public CellularClass CellularClass { [Windows.Foundation.Metadata.Deprecated("SmsDevice may be altered or unavailable for releases after Windows 10. Instead, use SmsDevice2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))] get; }
public CellularClass CellularClass { [Windows.Foundation.Metadata.Deprecated("SmsDevice may be altered or unavailable for releases after Windows 10. Instead, use SmsDevice2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")] get; }
var cellularClass = smsDevice.cellularClass;
Public ReadOnly Property CellularClass As CellularClass

属性值

指示设备的手机网络类别的枚举值。

实现

属性

Windows 要求

应用功能
cellularMessaging sms

适用于