Share via


IStructureTag2 Interface

Definition

Caution

Do not use. This interface has not been finalized and may change without warning.

Extends IStructureTag with PrimaryHeaderSpan property improving structure visualization support for secondary structure elements such as C# "else" statement.

[System.Obsolete("Do not use. This interface has not been finalized and may change without warning.")]
public interface IStructureTag2 : Microsoft.VisualStudio.Text.Tagging.IStructureTag, Microsoft.VisualStudio.Text.Tagging.ITag
[<System.Obsolete("Do not use. This interface has not been finalized and may change without warning.")>]
type IStructureTag2 = interface
    interface IStructureTag
    interface ITag
Public Interface IStructureTag2
Implements IStructureTag, ITag
Derived
Attributes
Implements

Properties

GuideLineHorizontalAnchorPoint

Gets the point with which the block structure adornment will be horizontally aligned.

(Inherited from IStructureTag)
GuideLineSpan

Gets the vertical span within which the block structure adornment will be drawn.

(Inherited from IStructureTag)
HeaderSpan

Gets the span of the statement that controls the structural block.

(Inherited from IStructureTag)
IsCollapsible

Determines whether a block can be collapsed.

(Inherited from IStructureTag)
IsDefaultCollapsed

Determines whether a block is collapsed by default.

(Inherited from IStructureTag)
IsImplementation

Determines whether a block is an implementation block.

(Inherited from IStructureTag)
OutliningSpan

Gets the span containing the entire contents of the block (minus the block header). This span will be collapsed or expanded when the block outlining adornment is invoked.

(Inherited from IStructureTag)
PrimaryHeaderSpan

Gets the optional Span of the primary header of the code block represented by this tag.

Snapshot

The Snapshot from which this IStructureTag was generated.

(Inherited from IStructureTag)
Type

Determines the semantic type of the structural block.

(Inherited from IStructureTag)

Methods

GetCollapsedForm()

Gets the data object for the collapsed UI. If the default is set, returns null.

(Inherited from IStructureTag)
GetCollapsedHintForm()

Gets the data object for the collapsed UI tooltip. If the default is set, returns null.

(Inherited from IStructureTag)

Applies to