SmsTextMessage.PartCount 属性

定义

如果消息是多部分消息的一部分,则指示原始消息中的部分总数。

public:
 property unsigned int PartCount { unsigned int get(); };
/// [get: Windows.Foundation.Metadata.Deprecated("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
uint32_t PartCount();
/// [get: Windows.Foundation.Metadata.Deprecated("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
uint32_t PartCount();
public uint PartCount { [Windows.Foundation.Metadata.Deprecated("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))] get; }
public uint PartCount { [Windows.Foundation.Metadata.Deprecated("SmsTextMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsTextMessage2.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")] get; }
var uInt32 = smsTextMessage.partCount;
Public ReadOnly Property PartCount As UInteger

属性值

UInt32

unsigned int

uint32_t

无符号整数。 如果消息是独立的,则值为 1。

实现

属性

Windows 要求

应用功能
cellularMessaging sms

适用于