IWpfTextViewConnectionListener.SubjectBuffersDisconnected Method
Called when one or more ITextBuffer objects no longer satisfy the conditions for being included in the subject buffers.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (in Microsoft.VisualStudio.Text.UI.Wpf.dll)
Syntax
'Declaration
Sub SubjectBuffersDisconnected ( _
textView As IWpfTextView, _
reason As ConnectionReason, _
subjectBuffers As Collection(Of ITextBuffer) _
)
void SubjectBuffersDisconnected(
IWpfTextView textView,
ConnectionReason reason,
Collection<ITextBuffer> subjectBuffers
)
void SubjectBuffersDisconnected(
IWpfTextView^ textView,
ConnectionReason reason,
Collection<ITextBuffer^>^ subjectBuffers
)
abstract SubjectBuffersDisconnected :
textView:IWpfTextView *
reason:ConnectionReason *
subjectBuffers:Collection<ITextBuffer> -> unit
function SubjectBuffersDisconnected(
textView : IWpfTextView,
reason : ConnectionReason,
subjectBuffers : Collection<ITextBuffer>
)
Parameters
textView
Type: Microsoft.VisualStudio.Text.Editor.IWpfTextViewThe ITextView from which the subject buffers are being disconnected.
reason
Type: Microsoft.VisualStudio.Text.Editor.ConnectionReasonThe cause of the disconnection.
subjectBuffers
Type: Collection<ITextBuffer>The non-empty list of ITextBuffer objects.
Remarks
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.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.