IMappingPoint 介面
ITextBuffer 中的位置,這個位置可在 IBufferGraph 中進行對應。
命名空間: Microsoft.VisualStudio.Text
組件: Microsoft.VisualStudio.Text.Data (在 Microsoft.VisualStudio.Text.Data.dll 中)
語法
'宣告
Public Interface IMappingPoint
public interface IMappingPoint
public interface class IMappingPoint
type IMappingPoint = interface end
public interface IMappingPoint
IMappingPoint 類型會公開下列成員。
屬性
名稱 | 描述 | |
---|---|---|
AnchorBuffer | 建立這個點的來源 ITextBuffer。 | |
BufferGraph | 取得IBufferGraph這一點會使用執行對應。 |
回頁首
方法
名稱 | 描述 | |
---|---|---|
GetInsertionPoint | 將點對應至相符之 ITextBuffer 中的插入點。 | |
GetPoint(ITextBuffer, PositionAffinity) | 將點對應至特定的 ITextBuffer。 | |
GetPoint(Predicate<ITextBuffer>, PositionAffinity) | 將點對應至相符的 ITextBuffer。 | |
GetPoint(ITextSnapshot, PositionAffinity) | 將點對應至特定的 ITextSnapshot。 |
回頁首