CommentCollection Class

Represents a collection of comments.

public class CommentCollection : CodeObjectCollection<Comment>
Inheritance
CodeObjectCollection<Comment> CommentCollection

Constructors

NameDescription
CommentCollection(CodeObject)
CommentCollection(CodeObject, CommentType)

CommentCollection overloads

CommentCollection(CodeObject)

CommentCollection.cs
public CommentCollection(CodeObject parent)
Parameters
parent CodeObject

No documentation is available.

CommentCollection(CodeObject, CommentType)

CommentCollection.cs
public CommentCollection(CodeObject parent, CommentType defaultCommentType)
Parameters
parent CodeObject
defaultCommentType CommentType

No documentation is available.

Methods

NameDescription
Add(string?)
Add(string?, CommentType)

Add overloads

public void Add(string? text)
Parameters
text string?

No documentation is available.

Add(string?, CommentType)

CommentCollection.cs
public void Add(string? text, CommentType type)
Parameters
text string?
type CommentType

No documentation is available.