Smartsheet.Api.Models.Comment.AddCommentBuilder.Build C# (CSharp) Method

Build() public method

Builds the Comment.
public Build ( ) : Comment
return Comment
            public virtual Comment Build()
            {
                if (text == null)
                {
                    throw new MemberAccessException("The comment text is required.");
                }

                Comment comment = new Comment();
                comment.text = text;
                return comment;
            }
Comment.AddCommentBuilder