共用方式為


IVsTextBufferDataEvents 介面

初始化文字緩衝區時,並變更文字緩衝區資料時,請告知用戶端。

命名空間:  Microsoft.VisualStudio.TextManager.Interop
組件:  Microsoft.VisualStudio.TextManager.Interop (在 Microsoft.VisualStudio.TextManager.Interop.dll 中)

語法

'宣告
<GuidAttribute("B7515E7A-70F0-44ED-96B7-FB7EB6450C10")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextBufferDataEvents
[GuidAttribute("B7515E7A-70F0-44ED-96B7-FB7EB6450C10")]
[InterfaceTypeAttribute()]
public interface IVsTextBufferDataEvents
[GuidAttribute(L"B7515E7A-70F0-44ED-96B7-FB7EB6450C10")]
[InterfaceTypeAttribute()]
public interface class IVsTextBufferDataEvents
[<GuidAttribute("B7515E7A-70F0-44ED-96B7-FB7EB6450C10")>]
[<InterfaceTypeAttribute()>]
type IVsTextBufferDataEvents =  interface end
public interface IVsTextBufferDataEvents

IVsTextBufferDataEvents 類型會公開下列成員。

方法

  名稱 描述
公用方法 OnFileChanged 轉寄IVsFileChangeEvents::FilesChanged文字緩衝區監視器,以其他想要對象的通知。
公用方法 OnLoadCompleted 初始化緩衝區時,請告知用戶端。

回頁首

備註

請參閱插圖的實作和 (或) 在這個範例中,這個介面呼叫Figures Edit

實作者注意事項

呼叫的環境,以提供有關文字緩衝區的資訊。

請參閱

參考

Microsoft.VisualStudio.TextManager.Interop 命名空間