PublicAPI.CRM.Lead.AddComment ELMA API Documentation
Add a comment to the lead
 
 
Syntax

public void AddComment(
	Lead lead,
	string comment
)

Parameters

lead
Type: Lead
Lead, the comment is added to. Object. Access path: PublicAPI.CRM.Lead
comment
Type: System String
Comment
Examples

//load a lead by ID 
var lead= PublicAPI.CRM.Lead.Load(3);
//added comment 
var comment= "Comment";

//add a comment
PublicAPI.CRM.Lead.AddComment(lead, comment);
See Also