IWpfTextViewConnectionListener::SubjectBuffersDisconnected Method (IWpfTextView^, ConnectionReason, Collection<ITextBuffer^>^)
Visual Studio 2015
Called when one or more ITextBuffer objects no longer satisfy the conditions for being included in the subject buffers.
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
void SubjectBuffersDisconnected(
IWpfTextView^ textView,
ConnectionReason reason,
Collection<ITextBuffer^>^ subjectBuffers
)
Parameters
- textView
-
Type:
Microsoft.VisualStudio.Text.Editor::IWpfTextView^
The ITextView from which the subject buffers are being disconnected.
- reason
-
Type:
Microsoft.VisualStudio.Text.Editor::ConnectionReason
The cause of the disconnection.
- subjectBuffers
-
Type:
System.Collections.ObjectModel::Collection<ITextBuffer^>^
The non-empty list of ITextBuffer objects.
Text buffers can be disconnected when they are removed as source buffers of some projection buffer, or when their content type changes, or when the ITextView is closed.
Show: