Partilhar via


IBlockTag Interface

Definition

Caution

Use IStructureTag instead

Represents a structural code block, which is used for vertical structural line adornments.

public interface class IBlockTag : Microsoft::VisualStudio::Text::Tagging::ITag
public interface class IBlockTag : Microsoft::VisualStudio::Text::Tagging::ITag
__interface IBlockTag : Microsoft::VisualStudio::Text::Tagging::ITag
public interface IBlockTag : Microsoft.VisualStudio.Text.Tagging.ITag
[System.Obsolete("Use IStructureTag instead")]
public interface IBlockTag : Microsoft.VisualStudio.Text.Tagging.ITag
type IBlockTag = interface
    interface ITag
[<System.Obsolete("Use IStructureTag instead")>]
type IBlockTag = interface
    interface ITag
Public Interface IBlockTag
Implements ITag
Derived
Attributes
Implements

Properties

CollapsedForm

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

CollapsedHintForm

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

IsCollapsible

Determines whether a block can be collapsed.

IsDefaultCollapsed

Determines whether a block is collapsed by default.

IsImplementation

Determines whether a block is an implementation block.

Level

Gets the level of nested-ness of the structural block.

Parent

Gets the hierarchical parent of the structural block.

Span

Gets the span of the structural block.

StatementSpan

Gets the span of the statement that control the structral block.

Type

Determines the semantic type of the structural block. See PredefinedStructureTypes for the canonical types. Use Nonstructural for blocks that will not have any visible affordance (but will be used for outlining).

Applies to