Adds an item to the specified discussion board on the current Web site.
Web Service: Lists
Web Reference: http://<Site>/_vti_bin/Lists.asmx
Visual Basic (Declaration)
<SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/AddDiscussionBoardItem", RequestNamespace:="http://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace:="http://schemas.microsoft.com/sharepoint/soap/", Use:=SoapBindingUse.Literal, ParameterStyle:=SoapParameterStyle.Wrapped)> _
Public Function AddDiscussionBoardItem ( _
listName As String, _
message As Byte() _
) As XmlNode
Dim instance As Lists
Dim listName As String
Dim message As Byte()
Dim returnValue As XmlNode
returnValue = instance.AddDiscussionBoardItem(listName, message)
[SoapDocumentMethodAttribute("http://schemas.microsoft.com/sharepoint/soap/AddDiscussionBoardItem", RequestNamespace="http://schemas.microsoft.com/sharepoint/soap/", ResponseNamespace="http://schemas.microsoft.com/sharepoint/soap/", Use=SoapBindingUse.Literal, ParameterStyle=SoapParameterStyle.Wrapped)]
public XmlNode AddDiscussionBoardItem (
string listName,
byte[] message
)
Parameters
- listName
A string that contains the internal name of the list.
- message
The base64Binary content of the item to add.
Return Value
A fragment that can be assigned to a System.Xml.XmlNode object.