PublicAPI.CRM.Contact.AddComment ELMA API Documentation
Add a comment to the contact
 
 
Syntax

public void AddComment(
	Contact contact,
	string comment
)

Parameters

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

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

//add a comment
PublicAPI.CRM.Contact.AddComment(contact, comment);
See Also