| FormatCommenterUseLineComments Property |
Gets whether the commenter should prefer to use line comments when commenting selections of code.
Namespace: Tvl.VisualStudio.Text.CommenterAssembly: Tvl.VisualStudio.Commenter.Utility.10 (in Tvl.VisualStudio.Commenter.Utility.10.dll) Version: 1.0.0.0
Syntax public virtual bool UseLineComments { get; }
Public Overridable ReadOnly Property UseLineComments As Boolean
Get
public:
virtual property bool UseLineComments {
bool get ();
}
abstract UseLineComments : bool with get
override UseLineComments : bool with 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