Click or drag to resize
ICommenterCommentSpans Method
Comments out spans of code.

Namespace: Tvl.VisualStudio.Text.Commenter.Interfaces
Assembly: Tvl.VisualStudio.Text.Commenter.Interfaces (in Tvl.VisualStudio.Text.Commenter.Interfaces.dll) Version: 1.0.0.0
Syntax
ReadOnlyCollection<VirtualSnapshotSpan> CommentSpans(
	ReadOnlyCollection<VirtualSnapshotSpan> spans
)

Parameters

spans
Type: System.Collections.ObjectModelReadOnlyCollectionVirtualSnapshotSpan
The collection of spans to comment out.

Return Value

Type: ReadOnlyCollectionVirtualSnapshotSpan
A collection of spans encompassing the resulting comments.
Exceptions
ExceptionCondition
ArgumentNullExceptionIf spans is .
See Also