SPMobileMessageSmsBuilder.SetTextContent Method (String)

Creates the complete final XML of a Short Message Service (SMS) message from the specified text.

Namespace:  Microsoft.SharePoint.MobileMessage
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)

Syntax

'Declaration
Public Sub SetTextContent ( _
    text As String _
)
'Usage
Dim instance As SPMobileMessageSmsBuilder
Dim text As String

instance.SetTextContent(text)
public void SetTextContent(
    string text
)

Parameters

Remarks

Using this method to build the message, rather than BuildSmsMessage(SPMobileMessagingAccount, String, String) gives you the option of having multiple recipients for the message; but gives you fewer options than using a message building transaction. For more information about message building transactions, see the Remarks in SPMobileMessageSmsBuilder.

See Also

Reference

SPMobileMessageSmsBuilder Class

SPMobileMessageSmsBuilder Members

SetTextContent Overload

Microsoft.SharePoint.MobileMessage Namespace