| FormatCommenter Constructor (ITextBuffer, IEnumerableCommentFormat) |
Initializes a new instance of the
FormatCommenter class for the specified text buffer, undo
history, and comment formats.
Namespace: Tvl.VisualStudio.Text.CommenterAssembly: Tvl.VisualStudio.Commenter.Utility.10 (in Tvl.VisualStudio.Commenter.Utility.10.dll) Version: 1.0.0.0
Syntax public FormatCommenter(
ITextBuffer textBuffer,
IEnumerable<CommentFormat> commentFormats
)
Public Sub New (
textBuffer As ITextBuffer,
commentFormats As IEnumerable(Of CommentFormat)
)
public:
FormatCommenter(
ITextBuffer^ textBuffer,
IEnumerable<CommentFormat^>^ commentFormats
)
new :
textBuffer : ITextBuffer *
commentFormats : IEnumerable<CommentFormat> -> FormatCommenter
Parameters
- textBuffer
- Type: Microsoft.VisualStudio.TextITextBuffer
The text buffer. - commentFormats
- Type: System.Collections.GenericIEnumerableCommentFormat
A collection of CommentFormat instances describing the comment
formats supported by this commenter.
Exceptions See Also