IProjectionEditResolver.GetTypicalInsertionPosition 메서드
프로젝션 버퍼의 위치가 소스 버퍼 경계에 있을 경우 일반 삽입을 받을 소스 삽입 지점을 확인합니다.
네임스페이스: Microsoft.VisualStudio.Text.Projection
어셈블리: Microsoft.VisualStudio.Text.Data(Microsoft.VisualStudio.Text.Data.dll)
구문
‘선언
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
매개 변수
projectionInsertionPoint
형식: Microsoft.VisualStudio.Text.SnapshotPointIProjectionBuffer의 삽입 지점입니다.
sourceInsertionPoints
형식: ReadOnlyCollection<SnapshotPoint>길이가 2 이상인 소스 버퍼의 삽입 지점 목록입니다.
반환 값
형식: Int32
0에서 sourceInsertionPoints.Length - 1 사이의 정수입니다.
.NET Framework 보안
- 직접 실행 호출자의 경우 완전히 신뢰합니다. 이 멤버는 부분적으로 신뢰할 수 있는 코드에서 사용할 수 없습니다. 자세한 내용은 부분 신뢰 코드에서 라이브러리 사용를 참조하세요.