共用方式為


ISmsDevice.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 = iSmsDevice.cellularClass;
Public ReadOnly Property CellularClass As CellularClass

屬性值

列舉值,指出裝置的行動資料類別。

屬性

Windows 需求

應用程式功能
cellularMessaging sms

適用於