다음을 통해 공유


CaretPosition 생성자

CaretPosition의 새 인스턴스를 초기화합니다.

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

구문

‘선언
Public Sub New ( _
    bufferPosition As VirtualSnapshotPoint, _
    mappingPoint As IMappingPoint, _
    caretAffinity As PositionAffinity _
)
public CaretPosition(
    VirtualSnapshotPoint bufferPosition,
    IMappingPoint mappingPoint,
    PositionAffinity caretAffinity
)
public:
CaretPosition(
    VirtualSnapshotPoint bufferPosition, 
    IMappingPoint^ mappingPoint, 
    PositionAffinity caretAffinity
)
new : 
        bufferPosition:VirtualSnapshotPoint * 
        mappingPoint:IMappingPoint * 
        caretAffinity:PositionAffinity -> CaretPosition
public function CaretPosition(
    bufferPosition : VirtualSnapshotPoint, 
    mappingPoint : IMappingPoint, 
    caretAffinity : PositionAffinity
)

매개 변수

.NET Framework 보안

참고 항목

참조

CaretPosition 구조체

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