Click or drag to resize
BlockCommentFormat Constructor (String, String, Boolean)
Initializes a new instance of the BlockCommentFormat class with the specified prefix, suffix, and value indicating whether block comments in this format may appear nested in the source code.

Namespace: Tvl.VisualStudio.Text.Commenter
Assembly: Tvl.VisualStudio.Commenter.Utility.10 (in Tvl.VisualStudio.Commenter.Utility.10.dll) Version: 1.0.0.0
Syntax
public BlockCommentFormat(
	string startText,
	string endText,
	bool allowNesting
)

Parameters

startText
Type: SystemString
The prefix for a block comment in this format.
endText
Type: SystemString
The suffix for a block comment in this format.
allowNesting
Type: SystemBoolean
if comments in this format may be nested; otherwise, .
Exceptions
ExceptionCondition
ArgumentNullException

If startText is .

-or-

If endText is .

ArgumentException

If startText is empty.

-or-

If endText is empty.

See Also