Share via


Lists.AddDiscussionBoardItem Method

Adds an item to the specified discussion board on the current Web site.

Web Service: ListsWeb Reference: http://<Site>/_vti_bin/Lists.asmx

Syntax

<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.

See Also

Reference

Lists Class
Lists Members
Lists Web Service