ISmsTextMessage.ToBinaryMessages(SmsDataFormat) Method

Definition

Reads a message in the specified format and places the results in a new instance of a binary message.

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)

Parameters

format
SmsDataFormat

A value from the SmsDataFormat enumeration.

Returns

The new binary message that holds the result of this method call.

Attributes

Windows requirements

App capabilities
cellularMessaging sms

Applies to