Export (0) Print
Expand All
Expand Minimize

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)

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.

Show:
© 2014 Microsoft