SP.Utilities.Utility.createNewDiscussionReply(Context, parent) Method

Applies to: SharePoint Foundation 2010

Gets a new reply to a discussion item.

var value = SP.Utilities.Utility.createNewDiscussionReply(Context, parent);

Parameters

Context

Type: SP.ClientRuntimeContext

The runtime context for accessing data from and invoking methods on remote objects.

parent

Type: SP.ListItem

The discussion list associated with the new reply item.

Return Value

Type: SP.ListItem

The new item containing a reply.

Applies To

SP.Utilities.Utility Class

See Also

Reference

SP.Utilities.Utility Methods

SP.Utilities Namespace