Freigeben über


ConnectionReason Enumeration

Defines the reasons for connecting or disconnecting a text buffer and a text view.

Namespace:  Microsoft.VisualStudio.Text.Editor
Assembly:  Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)

Syntax

'Declaration
Public Enumeration ConnectionReason
public enum ConnectionReason
public enum class ConnectionReason
type ConnectionReason
public enum ConnectionReason

Members

Member name Description
TextViewLifetime The IWpfTextView has been opened or closed.
ContentTypeChange The IContentType of the subject buffer has changed.
BufferGraphChange A buffer has been added to or removed from IBufferGraph.

Remarks

This enumeration is used in the SubjectBuffersConnected and SubjectBuffersDisconnected methods.

See Also

Reference

Microsoft.VisualStudio.Text.Editor Namespace