Partager via


BlockContext Class

Definition

Caution

Use IStructureTag APIs instead

An implementation of IBlockContext.

public ref class BlockContext : Microsoft::VisualStudio::Text::Adornments::IBlockContext
[Windows::Foundation::Metadata::WebHostHidden]
class BlockContext : Microsoft::VisualStudio::Text::Adornments::IBlockContext
public class BlockContext : Microsoft.VisualStudio.Text.Adornments.IBlockContext
[System.Obsolete("Use IStructureTag APIs instead")]
public class BlockContext : Microsoft.VisualStudio.Text.Adornments.IBlockContext
type BlockContext = class
    interface IBlockContext
[<System.Obsolete("Use IStructureTag APIs instead")>]
type BlockContext = class
    interface IBlockContext
Public Class BlockContext
Implements IBlockContext
Inheritance
BlockContext
Attributes
Implements

Constructors

BlockContext(IBlockTag, ITextView, Object)

Initializes a new instance of IBlockContext with the specified block tag.

Properties

BlockTag

Gets the block tag associated with this context.

Content

Gets the content that will be displayed in the tool tip, including hierarchical parent content.

TextView

Gets the text view associated with this context.

Applies to