Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic

SPUtility.CreateNewDiscussionReply Method

Creates a new SPListItem representing a reply to another item in a Discussion Board.

Namespace:  Microsoft.SharePoint.Utilities
Assembly:  Microsoft.SharePoint (in Microsoft.SharePoint.dll)
Available in Sandboxed Solutions: Yes
Available in SharePoint Online
[ClientCallableAttribute]
public static SPListItem CreateNewDiscussionReply(
	SPListItem parent
)

Parameters

parent
Type: Microsoft.SharePoint.SPListItem
The item to reply to.

Return Value

Type: Microsoft.SharePoint.SPListItem
A new item that represents a reply.

The new item is added to the collection in the ListItems property of the parent list item.

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback

Community Additions

ADD
Show:
© 2014 Microsoft. All rights reserved.