共用方式為


ISmsTextMessage.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 = iSmsTextMessage.partCount;
Public ReadOnly Property PartCount As UInteger

屬性值

UInt32

unsigned int

uint32_t

不帶正負號的整數。 如果訊息是獨立訊息,則值為 1。

屬性

Windows 需求

應用程式功能
cellularMessaging sms

適用於