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
Public property AnchorBuffer Gets the ITextBuffer from which this span was created.
Public property BufferGraph Gets the IBufferGraph that this span uses to perform mapping.
Public property End Gets the IMappingPoint for the end of this span.
Public property Start Gets the IMappingPoint for the start of this span.

Top

Methods

  Name Description
Public method GetSpans(ITextBuffer) Maps the span to a particular ITextBuffer.
Public method GetSpans(Predicate<ITextBuffer>) Maps the span to a matching ITextBuffer.
Public method GetSpans(ITextSnapshot) Maps the span to a particular ITextSnapshot.

Top

See Also

Reference

Microsoft.VisualStudio.Text Namespace