次の方法で共有


SmsBinaryMessage.GetData メソッド

定義

バイナリ プロトコル記述ユニット (PDU) 形式のメッセージの生バッファーをバイト配列として返します。

public:
 virtual Platform::Array <byte> ^ GetData() = GetData;
/// [Windows.Foundation.Metadata.Deprecated("SmsBinaryMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsAppMessage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, Windows.Devices.Sms.LegacySmsApiContract)]
winrt::array_view <byte> GetData();
/// [Windows.Foundation.Metadata.Deprecated("SmsBinaryMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsAppMessage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
winrt::array_view <byte> GetData();
[Windows.Foundation.Metadata.Deprecated("SmsBinaryMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsAppMessage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, typeof(Windows.Devices.Sms.LegacySmsApiContract))]
public byte[] GetData();
[Windows.Foundation.Metadata.Deprecated("SmsBinaryMessage may be altered or unavailable for releases after Windows 10. Instead, use SmsAppMessage.", Windows.Foundation.Metadata.DeprecationType.Deprecate, 65536, "Windows.Devices.Sms.LegacySmsApiContract")]
public byte[] GetData();
function getData()
Public Function GetData () As Byte()

戻り値

Byte[]

byte[]

メッセージ データを表すバイト配列。 メッセージ データがない場合、返される配列は空です。

実装

属性

Windows の要件

アプリの機能
cellularMessaging sms

適用対象