다음을 통해 공유


IBufferGraph.CreateMappingPoint Method

Creates a new IMappingPoint with the specified snapshot point and tracking mode.

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

Syntax

‘선언
Function CreateMappingPoint ( _
    point As SnapshotPoint, _
    trackingMode As PointTrackingMode _
) As IMappingPoint
IMappingPoint CreateMappingPoint(
    SnapshotPoint point,
    PointTrackingMode trackingMode
)
IMappingPoint^ CreateMappingPoint(
    SnapshotPoint point, 
    PointTrackingMode trackingMode
)
abstract CreateMappingPoint : 
        point:SnapshotPoint * 
        trackingMode:PointTrackingMode -> IMappingPoint 
function CreateMappingPoint(
    point : SnapshotPoint, 
    trackingMode : PointTrackingMode
) : IMappingPoint

Parameters

Return Value

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

.NET Framework Security

See Also

Reference

IBufferGraph Interface

Microsoft.VisualStudio.Text.Projection Namespace