Partager via


RegionsExpandedEventArgs Constructor (IEnumerable<ICollapsible>, Boolean)

Initializes a new instance of RegionsExpandedEventArgs with the specified ICollapsible regions.

Namespace:  Microsoft.VisualStudio.Text.Outlining
Assembly:  Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)

Syntax

'Declaration
Public Sub New ( _
    expandedRegions As IEnumerable(Of ICollapsible), _
    removalPending As Boolean _
)
public RegionsExpandedEventArgs(
    IEnumerable<ICollapsible> expandedRegions,
    bool removalPending
)
public:
RegionsExpandedEventArgs(
    IEnumerable<ICollapsible^>^ expandedRegions, 
    bool removalPending
)
new : 
        expandedRegions:IEnumerable<ICollapsible> * 
        removalPending:bool -> RegionsExpandedEventArgs
public function RegionsExpandedEventArgs(
    expandedRegions : IEnumerable<ICollapsible>, 
    removalPending : boolean
)

Parameters

  • expandedRegions
    Type: IEnumerable<ICollapsible>

    The newly-expanded regions.

  • removalPending
    Type: Boolean

    true if these regions are being expanded as part of being removed, otherwise false.

.NET Framework Security

See Also

Reference

RegionsExpandedEventArgs Class

RegionsExpandedEventArgs Overload

Microsoft.VisualStudio.Text.Outlining Namespace