ISmsDevice.CalculateLength(SmsTextMessage) ISmsDevice.CalculateLength(SmsTextMessage) ISmsDevice.CalculateLength(SmsTextMessage) ISmsDevice.CalculateLength(SmsTextMessage) ISmsDevice.CalculateLength(SmsTextMessage) Method

Definition

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

public : SmsEncodedLength CalculateLength(SmsTextMessage message)
SmsEncodedLength CalculateLength(SmsTextMessage message) const;
public SmsEncodedLength CalculateLength(SmsTextMessage message)
Public Function CalculateLength(message As SmsTextMessage) As SmsEncodedLength
var smsEncodedLength = iSmsDevice.calculateLength(message);

Parameters

message
SmsTextMessage SmsTextMessage SmsTextMessage

A reference to the SMS text message to measure.

Returns

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

Additional features and requirements

Capabilities
sms cellularMessaging