共用方式為


IVsTextLinesEvents 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

'宣告
<GuidAttribute("598D7074-DC17-4162-9A2F-97DD4540C2DD")> _
<InterfaceTypeAttribute()> _
Public Interface IVsTextLinesEvents
'用途
Dim instance As IVsTextLinesEvents
[GuidAttribute("598D7074-DC17-4162-9A2F-97DD4540C2DD")]
[InterfaceTypeAttribute()]
public interface IVsTextLinesEvents
[GuidAttribute(L"598D7074-DC17-4162-9A2F-97DD4540C2DD")]
[InterfaceTypeAttribute()]
public interface class IVsTextLinesEvents
[<GuidAttribute("598D7074-DC17-4162-9A2F-97DD4540C2DD")>]
[<InterfaceTypeAttribute()>]
type IVsTextLinesEvents =  interface end
public interface IVsTextLinesEvents

Remarks

Implement the IVsTextLinesEvents 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 so they receive notifications of changes to lines in the text buffer.

Notes to Callers

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

See Also

Reference

IVsTextLinesEvents Members

Microsoft.VisualStudio.TextManager.Interop Namespace