Compartir a través de


IBufferGraph.CreateMappingSpan Method

Initializes a new instance of a IMappingSpan.

Namespace:  Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaración
Function CreateMappingSpan ( _
    span As SnapshotSpan, _
    trackingMode As SpanTrackingMode _
) As IMappingSpan
IMappingSpan CreateMappingSpan(
    SnapshotSpan span,
    SpanTrackingMode trackingMode
)
IMappingSpan^ CreateMappingSpan(
    SnapshotSpan span, 
    SpanTrackingMode trackingMode
)
abstract CreateMappingSpan : 
        span:SnapshotSpan * 
        trackingMode:SpanTrackingMode -> IMappingSpan 
function CreateMappingSpan(
    span : SnapshotSpan, 
    trackingMode : SpanTrackingMode
) : IMappingSpan

Parameters

Return Value

Type: Microsoft.VisualStudio.Text.IMappingSpan
A IMappingSpan that can track within its buffer and map within the graph.

.NET Framework Security

See Also

Reference

IBufferGraph Interface

Microsoft.VisualStudio.Text.Projection Namespace