다음을 통해 공유


IProjectionEditResolver.GetTypicalInsertionPosition Method

When a position in the projection buffer lies on a source buffer seam, determine which source insertion point would receive a typical insertion.

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

Syntax

‘선언
Function GetTypicalInsertionPosition ( _
    projectionInsertionPoint As SnapshotPoint, _
    sourceInsertionPoints As ReadOnlyCollection(Of SnapshotPoint) _
) As Integer
int GetTypicalInsertionPosition(
    SnapshotPoint projectionInsertionPoint,
    ReadOnlyCollection<SnapshotPoint> sourceInsertionPoints
)
int GetTypicalInsertionPosition(
    SnapshotPoint projectionInsertionPoint, 
    ReadOnlyCollection<SnapshotPoint>^ sourceInsertionPoints
)
abstract GetTypicalInsertionPosition : 
        projectionInsertionPoint:SnapshotPoint * 
        sourceInsertionPoints:ReadOnlyCollection<SnapshotPoint> -> int 
function GetTypicalInsertionPosition(
    projectionInsertionPoint : SnapshotPoint, 
    sourceInsertionPoints : ReadOnlyCollection<SnapshotPoint>
) : int

Parameters

Return Value

Type: System.Int32
An integer between 0 and sourceInsertionPoints.Length - 1.

.NET Framework Security

See Also

Reference

IProjectionEditResolver Interface

Microsoft.VisualStudio.Text.Projection Namespace