Click to Rate and Give Feedback
MSDN
MSDN Library
Web Development
SDK Documentation
Web Services
Lists Web Service
Lists Class
Lists Methods
 AddDiscussionBoardItem Method
Community Content
In this section
Statistics Annotations (0)
Collapse All/Expand All Collapse All
Lists.AddDiscussionBoardItem Method (Lists)
Adds an item to the specified discussion board on the current Web site.

Web Service: ListsWeb 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
Visual Basic (Usage)
Dim instance As Lists
Dim listName As String
Dim message As Byte()
Dim returnValue As XmlNode

returnValue = instance.AddDiscussionBoardItem(listName, message)
C#
[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.
Tags What's this?: Add a tag
Community Content   What is Community Content?
Add new content RSS  Annotations
Processing
© 2009 Microsoft Corporation. All rights reserved. Terms of Use | Trademarks | Privacy Statement
Page view tracker