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)

public enum ConnectionReason

Member nameDescription
BufferGraphChange

A buffer has been added to or removed from IBufferGraph.

ContentTypeChange

The IContentType of the subject buffer has changed.

TextViewLifetime

The IWpfTextView has been opened or closed.

This enumeration is used in the SubjectBuffersConnected and SubjectBuffersDisconnected methods.

Return to top
Show: