| ICommenterCommentSpans Method |
Comments out spans of code.
Namespace: Tvl.VisualStudio.Text.Commenter.InterfacesAssembly: Tvl.VisualStudio.Text.Commenter.Interfaces (in Tvl.VisualStudio.Text.Commenter.Interfaces.dll) Version: 1.0.0.0
Syntax ReadOnlyCollection<VirtualSnapshotSpan> CommentSpans(
ReadOnlyCollection<VirtualSnapshotSpan> spans
)
Function CommentSpans (
spans As ReadOnlyCollection(Of VirtualSnapshotSpan)
) As ReadOnlyCollection(Of VirtualSnapshotSpan)
ReadOnlyCollection<VirtualSnapshotSpan>^ CommentSpans(
ReadOnlyCollection<VirtualSnapshotSpan>^ spans
)
abstract CommentSpans :
spans : ReadOnlyCollection<VirtualSnapshotSpan> -> ReadOnlyCollection<VirtualSnapshotSpan>
Parameters
- spans
- Type: System.Collections.ObjectModelReadOnlyCollectionVirtualSnapshotSpan
The collection of spans to comment out.
Return Value
Type:
ReadOnlyCollectionVirtualSnapshotSpanA collection of spans encompassing the resulting comments.
Exceptions See Also