Click or drag to resize
FormatCommenterUseLineComments Property
Gets whether the commenter should prefer to use line comments when commenting selections of 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 virtual bool UseLineComments { get; }

Property Value

Type: Boolean

to use line comments whenever possible for the Selection Comment command.

-or-

to use block comments whenever possible for the Selection Comment command.

Remarks

The default implementation returns when PreferredLineFormat is not . This property may be overridden to specify that block comments should be used whenever possible for the creating of new comments with the Comment command.

See Also