CodeComment Constructor (String, Boolean)

 
System_CAPS_noteNote

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

Initializes a new instance of the CodeComment class using the specified text and documentation comment flag.

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

public CodeComment(
	string text,
	bool docComment
)

Parameters

text
Type: System.String

The contents of the comment.

docComment
Type: System.Boolean

true if the comment is a documentation comment; otherwise, false.

.NET Framework
Available since 1.1
Return to top
Show: