共用方式為


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

不帶正負號的整數。 它是以單一為基礎。 它不會超過 PartCount + 1。

實作

屬性

Windows 需求

應用程式功能
cellularMessaging sms

適用於