共用方式為


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

回頁首

請參閱

參考

Microsoft.VisualStudio.Text 命名空間