ISmsTextMessage.ToBinaryMessages(SmsDataFormat) Methode

Definition

Liest eine Nachricht im angegebenen Format und platziert die Ergebnisse in einer neuen instance einer binären Nachricht.

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

Ein Wert aus der SmsDataFormat-Enumeration .

Gibt zurück

Die neue binäre Nachricht, die das Ergebnis dieses Methodenaufrufs enthält.

Attribute

Windows-Anforderungen

App-Funktionen
cellularMessaging sms

Gilt für: