ITrackingPoint 介面
ITextBuffer 中的追蹤位置。
命名空間: Microsoft.VisualStudio.Text
組件: Microsoft.VisualStudio.Text.Data (在 Microsoft.VisualStudio.Text.Data.dll 中)
語法
'宣告
Public Interface ITrackingPoint
public interface ITrackingPoint
public interface class ITrackingPoint
type ITrackingPoint = interface end
public interface ITrackingPoint
ITrackingPoint 類型會公開下列成員。
屬性
名稱 | 描述 | |
---|---|---|
![]() |
TextBuffer | 取得ITextBuffer ,而這一點所指的是。 |
![]() |
TrackingFidelity | 在將追蹤點移動至舊版或遇到舊版之複寫的版本 (由於復原或取消復原作業所致) 時,決定追蹤點的行為。 |
![]() |
TrackingMode | 當插入發生在其位置時,決定追蹤點是否要移動或保持靜止。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
![]() |
GetCharacter | 將此追蹤點對應至指定的快照,並取得該位置上的字元。 |
![]() |
GetPoint | 將追蹤點對應至其 ITextBuffer 的特定快照。 |
![]() |
GetPosition(ITextSnapshot) | 取得追蹤點的位置,在指定的ITextSnapshot。 |
![]() |
GetPosition(ITextVersion) | 取得追蹤點的位置,在指定的ITextVersion。 |
回頁首
備註
追蹤的相關資訊,請參閱 「 追蹤點,並追蹤 Span"區段中的在 [編輯器]。