共用方式為


IMappingSpan Interface

Definition

A span in a ITextBuffer that can be mapped within a IBufferGraph.

public interface class IMappingSpan
public interface class IMappingSpan
__interface IMappingSpan
public interface IMappingSpan
type IMappingSpan = interface
Public Interface IMappingSpan

Properties

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.

Methods

GetSpans(ITextBuffer)

Maps the span to a particular ITextBuffer.

GetSpans(ITextSnapshot)

Maps the span to a particular ITextSnapshot.

GetSpans(Predicate<ITextBuffer>)

Maps the span to a matching ITextBuffer.

Applies to