次の方法で共有


IVsTextStreamEvents Interface

Notifies clients of changes to the underlying text buffer.

Namespace:  Microsoft.VisualStudio.TextManager.Interop
Assembly:  Microsoft.VisualStudio.TextManager.Interop (in Microsoft.VisualStudio.TextManager.Interop.dll)

Syntax

'宣言
<InterfaceTypeAttribute()> _
<GuidAttribute("96FC7D44-BCDD-4F00-AE4D-07E26B2C0E52")> _
Public Interface IVsTextStreamEvents
'使用
Dim instance As IVsTextStreamEvents
[InterfaceTypeAttribute()]
[GuidAttribute("96FC7D44-BCDD-4F00-AE4D-07E26B2C0E52")]
public interface IVsTextStreamEvents
[InterfaceTypeAttribute()]
[GuidAttribute(L"96FC7D44-BCDD-4F00-AE4D-07E26B2C0E52")]
public interface class IVsTextStreamEvents
[<InterfaceTypeAttribute()>]
[<GuidAttribute("96FC7D44-BCDD-4F00-AE4D-07E26B2C0E52")>]
type IVsTextStreamEvents =  interface end
public interface IVsTextStreamEvents

Remarks

Implement the IVsTextStreamEvents interface on your client object to receive notification of changes in the text buffer. Expose this interface to the text buffer using the IConnectionPointContainer interface on the text buffer to receive notification of line changes from the buffer. Changes are expressed in a two-dimensional line/index coordinate system.

Notes to Implementers

Implemented by clients who want to receive notifications of changes to lines in the text buffer.

Notes to Callers

Called by text buffers in response to change to text or attributes in the buffer.

See Also

Reference

IVsTextStreamEvents Members

Microsoft.VisualStudio.TextManager.Interop Namespace