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)
[ClientCallableAttribute(ClientLibraryTargets = ClientLibraryTargets.NonRESTful)]
public static SPListItem CreateNewDiscussionReply(
	SPListItem 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

© 2014 Microsoft. All rights reserved.