Freigeben über


SmsBinaryMessage.GetData Methode

Definition

Gibt den rohen Puffer der Nachricht im PDU-Format (Binary Protocol Description Unit) als Bytearray zurück.

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()

Gibt zurück

Byte[]

byte[]

Ein Bytearray, das Nachrichtendaten darstellt. Wenn keine Nachrichtendaten vorhanden sind, ist das zurückgegebene Array leer.

Implementiert

Attribute

Windows-Anforderungen

App-Funktionen
cellularMessaging sms

Gilt für: