Lists.AddDiscussionBoardItem method

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

Namespace:  WebSvcLists
Assembly:  STSSOAP (in STSSOAP.dll)

Syntax

'Declaration
<SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/AddDiscussionBoardItem", RequestNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    ResponseNamespace := "https://schemas.microsoft.com/sharepoint/soap/",  _
    Use := SoapBindingUse.Literal, ParameterStyle := SoapParameterStyle.Wrapped)> _
Public Function AddDiscussionBoardItem ( _
    listName As String, _
    message As Byte() _
) As XmlNode
'Usage
Dim instance As Lists
Dim listName As String
Dim message As Byte()
Dim returnValue As XmlNode

returnValue = instance.AddDiscussionBoardItem(listName, _
    message)
[SoapDocumentMethodAttribute("https://schemas.microsoft.com/sharepoint/soap/AddDiscussionBoardItem", RequestNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    ResponseNamespace = "https://schemas.microsoft.com/sharepoint/soap/", 
    Use = SoapBindingUse.Literal, ParameterStyle = SoapParameterStyle.Wrapped)]
public XmlNode AddDiscussionBoardItem(
    string listName,
    byte[] message
)

Parameters

  • listName
    Type: System.String

    A string that contains the internal name of the list.

  • message
    Type: []

    The base64Binary content of the item to add.

Return value

Type: System.Xml.XmlNode
A fragment that can be assigned to a System.Xml.XmlNode object.

See also

Reference

Lists class

Lists members

WebSvcLists namespace