RegionsCollapsedEventArgs Constructor
Initializes a new instance of RegionsCollapsedEventArgs with the specified ICollapsed regions.
Namespace: Microsoft.VisualStudio.Text.Outlining
Assembly: Microsoft.VisualStudio.Text.UI (in Microsoft.VisualStudio.Text.UI.dll)
Syntax
'宣告
Public Sub New ( _
collapsedRegions As IEnumerable(Of ICollapsed) _
)
public RegionsCollapsedEventArgs(
IEnumerable<ICollapsed> collapsedRegions
)
public:
RegionsCollapsedEventArgs(
IEnumerable<ICollapsed^>^ collapsedRegions
)
new :
collapsedRegions:IEnumerable<ICollapsed> -> RegionsCollapsedEventArgs
public function RegionsCollapsedEventArgs(
collapsedRegions : IEnumerable<ICollapsed>
)
Parameters
- collapsedRegions
Type: System.Collections.Generic.IEnumerable<ICollapsed>
The newly-collapsed regions.
.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.