Condividi tramite


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

'Dichiarazione
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

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

See Also

Reference

IWpfTextViewConnectionListener Interface

Microsoft.VisualStudio.Text.Editor Namespace