Bagikan melalui


ISmsTextMessage.ToBinaryMessages(SmsDataFormat) Metode

Definisi

Membaca pesan dalam format yang ditentukan dan menempatkan hasilnya dalam instans baru pesan biner.

public:
 IVectorView<ISmsBinaryMessage ^> ^ ToBinaryMessages(SmsDataFormat format);
/// [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)]
IVectorView<ISmsBinaryMessage> ToBinaryMessages(SmsDataFormat const& format);
/// [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")]
IVectorView<ISmsBinaryMessage> ToBinaryMessages(SmsDataFormat const& format);
[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))]
public IReadOnlyList<ISmsBinaryMessage> ToBinaryMessages(SmsDataFormat format);
[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")]
public IReadOnlyList<ISmsBinaryMessage> ToBinaryMessages(SmsDataFormat format);
function toBinaryMessages(format)
Public Function ToBinaryMessages (format As SmsDataFormat) As IReadOnlyList(Of ISmsBinaryMessage)

Parameter

format
SmsDataFormat

Nilai dari enumerasi SmsDataFormat .

Mengembalikan

Pesan biner baru yang menyimpan hasil panggilan metode ini.

Atribut

Persyaratan Windows

Kemampuan aplikasi
cellularMessaging sms

Berlaku untuk