ExpertXls Excel Library for .NET
AddComment Method (text)
Namespaces ► ExpertXls.ExcelLib ► ExcelRange ► AddComment(String)
ExpertXls Excel Library for .NET
Adds the comment with the specified text to this range. The range is expected to contain a single cell otherwise the comment will be placed on the top left cell of the range.
Declaration Syntax

C# | Visual Basic | Visual C++

    public ExcelComment AddComment(
    	string text
    )

    Public Function AddComment ( _
    	text As String _
    ) As ExcelComment

    public:
    ExcelComment^ AddComment(
    	String^ text
    )

Parameters

text (String)
  The comment text.

Return Value
The comment object attached to the range.

Assembly: ExpertXls.ExcelLib (Module: ExpertXls.ExcelLib) Version: 2.1.0.0 (2.1.0.0)