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: Booleantrue if these regions are being expanded as part of being removed, otherwise false.
.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.
See Also
Reference
RegionsExpandedEventArgs Class