PublicAPI.Docflow.Objects.Tasks.DocumentAcquaintanceTask.AddComment ELMA API Documentation
Add a comment to the task
 
 
Syntax

public void AddComment(
	DocumentAcquaintanceTask task,
	string comment,
	IEnumerable<Attachment> attachments
)

Parameters

task
Type: DocumentAcquaintanceTask
Task. Object. Access path: PublicAPI.Docflow.Objects.Tasks.DocumentAcquaintanceTask
comment
Type: System String
Comment
attachments
Type: System.Collections.Generic IEnumerable Attachment 
Attachments. Object. Access path: PublicAPI.Portal.Objects.Common.Attachment
Examples

//load the task by ID 
var task = PublicAPI.Portal.TaskBase.Load(3);
//comment to add 
var comment = "Comment";

//Add the comment
PublicAPI.Portal.TaskBase.AddComment(task, comment);
See Also