GetClassType
function GetClassType(): comment
Description
Returns a type of the ApiComment class.
Returns
comment
Try It
var oWorksheet = Api.GetActiveSheet();
oWorksheet.GetRange("A1").SetValue("1");
var oRange = oWorksheet.GetRange("A1");
oRange.AddComment("This is just a number.");
var oComment = oRange.GetComment();
var sType = oComment.GetClassType();
oWorksheet.GetRange("A3").SetValue("Type: " + sType);