共用方式為


ISmsBinaryMessage.SetData(Byte[]) 方法

定義

指定 SMS 訊息的原始二進位承載。 它應該根據 PDU) 標準 (通訊協定描述單位來格式化。

public:
 void SetData(Platform::Array <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)]
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())

參數

value

Byte[]

byte[]

位元組陣列,表示訊息資料,根據通訊協定描述單位 (PDU) 標準格式化。

屬性

Windows 需求

應用程式功能
cellularMessaging sms

適用於