SPMobileMessageBatchPackage.AddMessages Method
Adds the specified messages to the package.
Namespace: Microsoft.SharePoint.MobileMessage
Assembly: Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Syntax
'Declaration
Public Sub AddMessages ( _
messages As List(Of SPMobileMessage) _
)
'Usage
Dim instance As SPMobileMessageBatchPackage
Dim messages As List(Of SPMobileMessage)
instance.AddMessages(messages)
public void AddMessages(
List<SPMobileMessage> messages
)
Parameters
messages
Type: System.Collections.Generic.List<SPMobileMessage>The messages that are added.
Exceptions
Exception | Condition |
---|---|
ArgumentException | messages is a null reference (Nothing in Visual Basic). |
See Also
Reference
SPMobileMessageBatchPackage Class