IMappingSpan Interface
A span in a ITextBuffer that can be mapped within a IBufferGraph.
Namespace: Microsoft.VisualStudio.Text
Assembly: Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)
Syntax
'宣告
Public Interface IMappingSpan
public interface IMappingSpan
public interface class IMappingSpan
type IMappingSpan = interface end
public interface IMappingSpan
The IMappingSpan type exposes the following members.
Properties
Name | Description | |
---|---|---|
AnchorBuffer | Gets the ITextBuffer from which this span was created. | |
BufferGraph | Gets the IBufferGraph that this span uses to perform mapping. | |
End | Gets the IMappingPoint for the end of this span. | |
Start | Gets the IMappingPoint for the start of this span. |
Top
Methods
Name | Description | |
---|---|---|
GetSpans(ITextBuffer) | Maps the span to a particular ITextBuffer. | |
GetSpans(Predicate<ITextBuffer>) | Maps the span to a matching ITextBuffer. | |
GetSpans(ITextSnapshot) | Maps the span to a particular ITextSnapshot. |
Top