共用方式為


OutliningRegionTag Class

Represents a tag for outlining regions.

Inheritance Hierarchy

System.Object
  Microsoft.VisualStudio.Text.Tagging.OutliningRegionTag

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

Syntax

'宣告
Public Class OutliningRegionTag _
    Implements IOutliningRegionTag, ITag
public class OutliningRegionTag : IOutliningRegionTag, 
    ITag
public ref class OutliningRegionTag : IOutliningRegionTag, 
    ITag
type OutliningRegionTag =  
    class
        interface IOutliningRegionTag
        interface ITag
    end
public class OutliningRegionTag implements IOutliningRegionTag, ITag

The OutliningRegionTag type exposes the following members.

Constructors

  Name Description
Public method OutliningRegionTag() Initializes a new instance of a OutliningRegionTag.
Public method OutliningRegionTag(Object, Object) Initializes a new instance of a OutliningRegionTag with the specified objects.
Public method OutliningRegionTag(Boolean, Boolean, Object, Object) Initializes a new instance of a OutliningRegionTag with the specified default collapsed state.

Top

Properties

  Name Description
Public property CollapsedForm Gets the data object for the collapsed UI.
Public property CollapsedHintForm Gets the data object for the collapsed UI tooltip. If the default is set, returns null.
Public property IsDefaultCollapsed Determines whether the region is collapsed by default.
Public property IsImplementation Determines whether a region is an implementation region.

Top

Methods

  Name Description
Public method Equals Determines whether the specified Object is equal to the current Object. (Inherited from Object.)
Protected method Finalize Allows an object to try to free resources and perform other cleanup operations before it is reclaimed by garbage collection. (Inherited from Object.)
Public method GetHashCode Serves as a hash function for a particular type. (Inherited from Object.)
Public method GetType Gets the Type of the current instance. (Inherited from Object.)
Protected method MemberwiseClone Creates a shallow copy of the current Object. (Inherited from Object.)
Public method ToString Returns a string that represents the current object. (Inherited from Object.)

Top

Thread Safety

Any public static (Shared in Visual Basic) members of this type are thread safe. Any instance members are not guaranteed to be thread safe.

See Also

Reference

Microsoft.VisualStudio.Text.Tagging Namespace