共用方式為


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

'宣告
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

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