将项目添加到当前网站上的指定的讨论板。
命名空间: WebSvcLists
程序集: STSSOAP(位于 STSSOAP.dll 中)
语法
声明
<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
用法
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
)
参数
listName
类型:System.String一个包含列表的内部名称的字符串。
message
类型:[]要添加的项base64Binary内容。
返回值
类型:System.Xml.XmlNode
一个可分配给System.Xml.XmlNode对象的片段。