CodeTypeMember.Comments Property


The .NET API Reference documentation has a new home. Visit the .NET API Browser on to see the new experience.

Gets the collection of comments for the type member.

Namespace:   System.CodeDom
Assembly:  System (in System.dll)

public CodeCommentStatementCollection Comments { get; }

Property Value

Type: System.CodeDom.CodeCommentStatementCollection

A CodeCommentStatementCollection that indicates the comments for the member.

The comments in this collection are written to the generated source file just before the declaration of the member.

.NET Framework
Available since 1.1
Return to top