다음을 통해 공유


IBufferGraph.MapDownToInsertionPoint 메서드

그래프에 있는 일부 버퍼의 위치를 그래프에서 하위에 있고 삽입이 라우팅될 일치하는 버퍼의 위치에 매핑합니다. 소스 버퍼는 이 버퍼를 사용하는 프로젝션 버퍼보다 하위에 있는 것으로 간주됩니다.

네임스페이스:  Microsoft.VisualStudio.Text.Projection
어셈블리:  Microsoft.VisualStudio.Text.Data(Microsoft.VisualStudio.Text.Data.dll)

구문

‘선언
Function MapDownToInsertionPoint ( _
    position As SnapshotPoint, _
    trackingMode As PointTrackingMode, _
    match As Predicate(Of ITextSnapshot) _
) As Nullable(Of SnapshotPoint)
Nullable<SnapshotPoint> MapDownToInsertionPoint(
    SnapshotPoint position,
    PointTrackingMode trackingMode,
    Predicate<ITextSnapshot> match
)
Nullable<SnapshotPoint> MapDownToInsertionPoint(
    SnapshotPoint position, 
    PointTrackingMode trackingMode, 
    Predicate<ITextSnapshot^>^ match
)
abstract MapDownToInsertionPoint : 
        position:SnapshotPoint * 
        trackingMode:PointTrackingMode * 
        match:Predicate<ITextSnapshot> -> Nullable<SnapshotPoint> 
function MapDownToInsertionPoint(
    position : SnapshotPoint, 
    trackingMode : PointTrackingMode, 
    match : Predicate<ITextSnapshot>
) : Nullable<SnapshotPoint>

매개 변수

  • match
    형식: Predicate<ITextSnapshot>

    대상 버퍼를 식별하는 조건자입니다.

반환 값

형식: Nullable<SnapshotPoint>
일부 소스 버퍼의 스냅숏에 있는 위치입니다.

예외

예외 조건
ArgumentNullException

position.Snapshot or match is nullNull 참조(Visual Basic의 경우 Nothing).

ArgumentOutOfRangeException

trackingMode이 잘못된 PointTrackingMode인 경우

.NET Framework 보안

참고 항목

참조

IBufferGraph 인터페이스

Microsoft.VisualStudio.Text.Projection 네임스페이스