Class Comment.AddCommentBuilder
- Namespace
- Smartsheet.Api.Models
- Assembly
- smartsheet-csharp-sdk.dll
A convenience class to generate a Comment with the appropriate fields for adding it to a sheet.
public class Comment.AddCommentBuilder
- Inheritance
-
Comment.AddCommentBuilder
- Inherited Members
Constructors
AddCommentBuilder(string)
Constructor that takes a string of text for the comment.
public AddCommentBuilder(string text)
Parameters
text
string
Properties
Text
Gets the Text for the Comment.
public string Text { get; }
Property Value
- string
the Text
Methods
Build()
Builds the Comment.
public Comment Build()
Returns
- Comment
the Comment
SetText(string)
The Text for the Comment.
public Comment.AddCommentBuilder SetText(string text)
Parameters
text
stringthe Text
Returns
- Comment.AddCommentBuilder
the adds the Comment builder