Jaa


SmsDevice2.CalculateLength(ISmsMessageBase) Method

Definition

Estimates the transmitted message length of the specified text message. The estimate can be useful to clients that want to give an indication of how many messages will be sent on the network to carry the text of the full message.

public:
 virtual SmsEncodedLength CalculateLength(ISmsMessageBase ^ message) = CalculateLength;
SmsEncodedLength CalculateLength(ISmsMessageBase const& message);
public SmsEncodedLength CalculateLength(ISmsMessageBase message);
function calculateLength(message)
Public Function CalculateLength (message As ISmsMessageBase) As SmsEncodedLength

Parameters

message
ISmsMessageBase

A reference to the SMS text message to measure.

Returns

A reference to an SmsEncodedLength structure that is populated with the length information.

Windows requirements

App capabilities
cellularMessaging sms

Applies to