Condividi tramite


SmsBinaryMessage.SetData(Byte[]) Metodo

Definizione

Specifica il payload binario non elaborato del messaggio SMS. Deve essere formattato in base allo standard PDU (Protocol Description Unit).

public:
 virtual void SetData(Platform::Array <byte> ^ value) = SetData;
/// [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)]
void SetData(winrt::array_view <byte> const& value);
/// [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")]
void SetData(winrt::array_view <byte> const& value);
[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 void SetData(byte[] value);
[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 void SetData(byte[] value);
function setData(value)
Public Sub SetData (value As Byte())

Parametri

value

Byte[]

byte[]

Matrice di byte che rappresenta i dati del messaggio. Se non sono presenti dati del messaggio, la matrice restituita è vuota.

Implementazioni

M:Windows.Devices.Sms.ISmsBinaryMessage.SetData(System.Byte[]) M:Windows.Devices.Sms.ISmsBinaryMessage.SetData(byte[])
Attributi

Requisiti Windows

Funzionalità dell'app
cellularMessaging sms

Si applica a