SmsDevice2.CalculateLength(ISmsMessageBase) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for