Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Adds an item to the specified discussion board on the current Web site.
Namespace: [Lists Web service]
Web service reference: http://Site/_vti_bin/Lists.asmx
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.StringA 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.