Compartir a través de


GraphBuffersChangedEventArgs Constructor

Initializes a new instance of GraphBuffersChangedEventArgs with the provided buffers.

Namespace:  Microsoft.VisualStudio.Text.Projection
Assembly:  Microsoft.VisualStudio.Text.Data (in Microsoft.VisualStudio.Text.Data.dll)

Syntax

'Declaration
Public Sub New ( _
    addedBuffers As IList(Of ITextBuffer), _
    removedBuffers As IList(Of ITextBuffer) _
)
public GraphBuffersChangedEventArgs(
    IList<ITextBuffer> addedBuffers,
    IList<ITextBuffer> removedBuffers
)
public:
GraphBuffersChangedEventArgs(
    IList<ITextBuffer^>^ addedBuffers, 
    IList<ITextBuffer^>^ removedBuffers
)
new : 
        addedBuffers:IList<ITextBuffer> * 
        removedBuffers:IList<ITextBuffer> -> GraphBuffersChangedEventArgs
public function GraphBuffersChangedEventArgs(
    addedBuffers : IList<ITextBuffer>, 
    removedBuffers : IList<ITextBuffer>
)

Parameters

  • addedBuffers
    Type: IList<ITextBuffer>

    The list of buffers that were added.

  • removedBuffers
    Type: IList<ITextBuffer>

    The list of buffers that were removed.

Exceptions

Exception Condition
ArgumentNullException

addedBuffers or removedBuffers is nulla null reference (Nothing in Visual Basic).

.NET Framework Security

See Also

Reference

GraphBuffersChangedEventArgs Class

Microsoft.VisualStudio.Text.Projection Namespace