SmsTextMessage.PartNumber 属性

定义

如果此消息是多部分消息的一部分,则指示多部分消息的部件号。 它可用于通过将部件联接在一起来重建原始消息,并结合 PartReferenceIdPartCount 属性。

public:
 property unsigned int PartNumber { 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 PartNumber();
/// [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 PartNumber();
public uint PartNumber { [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 PartNumber { [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.partNumber;
Public ReadOnly Property PartNumber As UInteger

属性值

UInt32

unsigned int

uint32_t

无符号整数。 它是从 1 开始的。 它不会超过 PartCount + 1。

实现

属性

Windows 要求

应用功能
cellularMessaging sms

适用于