Freigeben über


OutliningRegionTag Constructor (Boolean, Boolean, Object, Object)

Initializes a new instance of a OutliningRegionTag with the specified default collapsed state.

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

Syntax

'Declaration
Public Sub New ( _
    isDefaultCollapsed As Boolean, _
    isImplementation As Boolean, _
    collapsedForm As Object, _
    collapsedHintForm As Object _
)
public OutliningRegionTag(
    bool isDefaultCollapsed,
    bool isImplementation,
    Object collapsedForm,
    Object collapsedHintForm
)
public:
OutliningRegionTag(
    bool isDefaultCollapsed, 
    bool isImplementation, 
    Object^ collapsedForm, 
    Object^ collapsedHintForm
)
new : 
        isDefaultCollapsed:bool * 
        isImplementation:bool * 
        collapsedForm:Object * 
        collapsedHintForm:Object -> OutliningRegionTag
public function OutliningRegionTag(
    isDefaultCollapsed : boolean, 
    isImplementation : boolean, 
    collapsedForm : Object, 
    collapsedHintForm : Object
)

Parameters

  • isDefaultCollapsed
    Type: System.Boolean
    true if the region is collapsed by default, otherwise false.
  • isImplementation
    Type: System.Boolean
    true if the region is an implementation, otherwise false.
  • collapsedForm
    Type: System.Object
    The data object for the collapsed UI.
  • collapsedHintForm
    Type: System.Object
    The data object for the collapsed UI tooltip.

.NET Framework Security

See Also

Reference

OutliningRegionTag Class

OutliningRegionTag Overload

Microsoft.VisualStudio.Text.Tagging Namespace