Share via


SmsTextMessage2.Encoding Property

Definition

Gets or sets the encoding scheme used for the message.

public:
 property SmsEncoding Encoding { SmsEncoding get(); void set(SmsEncoding value); };
SmsEncoding Encoding();

void Encoding(SmsEncoding value);
public SmsEncoding Encoding { get; set; }
var smsEncoding = smsTextMessage2.encoding;
smsTextMessage2.encoding = smsEncoding;
Public Property Encoding As SmsEncoding

Property Value

An enumeration value specifying the encoding scheme used in a received message, or the scheme to be used in a message that will be sent.

Windows requirements

App capabilities
cellularMessaging sms

Applies to