次の方法で共有


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

適用対象