Save a like on comment.

Namespace: DotNetNuke.Services.Journal
Assembly: DotNetNuke (in DotNetNuke.dll)

Syntax

C#
void LikeComment(
	int journalId,
	int commentId,
	int userId,
	string displayName
)
Visual Basic
Sub LikeComment ( 
	journalId As Integer,
	commentId As Integer,
	userId As Integer,
	displayName As String
)

Parameters

journalId
Type: System..::..Int32
Id of journal.
commentId
Type: System..::..Int32
Id of comment.
userId
Type: System..::..Int32
Id of current user.
displayName
Type: System..::..String
User's display name.

See Also