共用方式為


SmsTextMessage.ToBinaryMessages(SmsDataFormat) 方法

定義

以指定的格式讀取訊息,並將結果放在二進位訊息的新實例中。

public:
 virtual IVectorView<ISmsBinaryMessage ^> ^ ToBinaryMessages(SmsDataFormat format) = ToBinaryMessages;
/// [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)

參數

format
SmsDataFormat

SmsDataFormat 列舉中的值。

傳回

保留這個方法呼叫結果的新二進位訊息。

實作

屬性

Windows 需求

應用程式功能
cellularMessaging sms

適用於