Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Initializes a new instance of BatchedTagsChangedEventArgs with the specified list of IMappingSpan objects.
Namespace:  Microsoft.VisualStudio.Text.Tagging
Assembly:  Microsoft.VisualStudio.Text.Logic (in Microsoft.VisualStudio.Text.Logic.dll)
Syntax
'Declaration
Public Sub New ( _
    spans As IList(Of IMappingSpan) _
)
public BatchedTagsChangedEventArgs(
    IList<IMappingSpan> spans
)
public:
BatchedTagsChangedEventArgs(
    IList<IMappingSpan^>^ spans
)
new : 
        spans:IList<IMappingSpan> -> BatchedTagsChangedEventArgs
public function BatchedTagsChangedEventArgs(
    spans : IList<IMappingSpan>
)
Parameters
- spans
 Type: System.Collections.Generic.IList<IMappingSpan>
 The list of IMappingSpan objects in which the tags have changed.
Exceptions
| Exception | Condition | 
|---|---|
| ArgumentNullException | spans is nulla null reference (Nothing in Visual Basic). | 
.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.