PublicAPI.CRM.Relationship.AddComment ELMA API Documentation
Add a comment to the relationship
 
 
Syntax

public void AddComment(
	Relationship relationship,
	string comment
)

Parameters

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

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

//add a comment
PublicAPI.CRM.Relationship.AddComment(relationship, comment);
See Also