다음을 통해 공유


ITrackingPoint.GetPoint 메서드

추적 지점을 해당 ITextBuffer의 특정 스냅숏에 매핑합니다.

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

구문

‘선언
Function GetPoint ( _
    snapshot As ITextSnapshot _
) As SnapshotPoint
SnapshotPoint GetPoint(
    ITextSnapshot snapshot
)
SnapshotPoint GetPoint(
    ITextSnapshot^ snapshot
)
abstract GetPoint : 
        snapshot:ITextSnapshot -> SnapshotPoint
function GetPoint(
    snapshot : ITextSnapshot
) : SnapshotPoint

매개 변수

반환 값

형식: Microsoft.VisualStudio.Text.SnapshotPoint
SnapshotPoint 입니다.

예외

예외 조건
ArgumentNullException

snapshot가 nullNull 참조(Visual Basic의 경우 Nothing)입니다.

ArgumentException

snapshot스냅샷 수 없습니다 ITextBuffer.

.NET Framework 보안

참고 항목

참조

ITrackingPoint 인터페이스

Microsoft.VisualStudio.Text 네임스페이스