Version

HasComment Property

Get the value indicating whether the cell has an associated comment.
Syntax
'Declaration
 
Public ReadOnly Property HasComment As Boolean
public bool HasComment {get;}

Property Value

True if the cell has an associated comment; False otherwise.
Remarks

Note: it is slightly faster to use the WorksheetRow.GetCellComment method and check for a non null return value, which does not create a WorksheetCell instance internally. However, if a reference to the WorksheetCell instance already exists, using this property is equivalent to using the WorksheetRow.GetCellComment method and checking for a non null return value.

Requirements

Target Platforms: Windows 10, Windows 8.1, Windows 8, Windows 7, Windows Server 2012, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also