共用方式為


GraphBuffersChangedEventArgs Constructor

Definition

Initializes a new instance of GraphBuffersChangedEventArgs with the provided buffers.

public:
 GraphBuffersChangedEventArgs(System::Collections::Generic::IList<Microsoft::VisualStudio::Text::ITextBuffer ^> ^ addedBuffers, System::Collections::Generic::IList<Microsoft::VisualStudio::Text::ITextBuffer ^> ^ removedBuffers);
public GraphBuffersChangedEventArgs (System.Collections.Generic.IList<Microsoft.VisualStudio.Text.ITextBuffer> addedBuffers, System.Collections.Generic.IList<Microsoft.VisualStudio.Text.ITextBuffer> removedBuffers);
new Microsoft.VisualStudio.Text.Projection.GraphBuffersChangedEventArgs : System.Collections.Generic.IList<Microsoft.VisualStudio.Text.ITextBuffer> * System.Collections.Generic.IList<Microsoft.VisualStudio.Text.ITextBuffer> -> Microsoft.VisualStudio.Text.Projection.GraphBuffersChangedEventArgs
Public Sub New (addedBuffers As IList(Of ITextBuffer), removedBuffers As IList(Of ITextBuffer))

Parameters

addedBuffers
IList<ITextBuffer>

The list of buffers that were added.

removedBuffers
IList<ITextBuffer>

The list of buffers that were removed.

Exceptions

Either addedBuffers or removedBuffers is null.

Applies to