API Reference > OdBcf Namespace > Classes > OdBcfSession Class > OdBcfSession Methods > OdBcfSession::addComment Method
OdBcfSession::addComment Method
Syntax
C++
void addComment(const OdString& projectId, const OdGUID& topicId, const OdString& comment, OdResult* result = NULL);
Parameters 
Description 
const OdString& projectId 
[in] A string that contains the project identifier.  
const OdGUID& topicId 
[in] A GUID of the topic folder object.  
const OdString& comment 
[in] A string that contains comment text.  
OdResult* result = NULL 
[out] A raw pointer to a value that contains the result of the operation. 

Adds comment to a topic with a specified GUID from a specified project.

If you want to get the result of adding the comment, pass a valid pointer to the OdResult value to the method and analyze it after the method call ends.

Copyright (c) 2002-2021. Open Design Alliance. All rights reserved.