.NET Framework Class Library  

CodeTypeMember.Comments Property

Gets the comment collection for the type member.

[Visual Basic]
Public ReadOnly Property Comments As CodeCommentStatementCollection
[C#]
public CodeCommentStatementCollection Comments {get;}
[C++]
public: __property CodeCommentStatementCollection* get_Comments();
[JScript]
public function get Comments() : CodeCommentStatementCollection;

Property Value

A CodeCommentStatementCollection that indicates the comments for the member.

Remarks

Any comments in this collection will be written to the generated source file just before the declaration of the member.

Requirements

Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family

See Also

CodeTypeMember Class | CodeTypeMember Members | System.CodeDom Namespace | CodeCommentStatementCollection