Condividi tramite


BlockContext(IBlockTag, ITextView, Object) Constructor

Definition

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

public:
 BlockContext(Microsoft::VisualStudio::Text::Tagging::IBlockTag ^ blockTag, Microsoft::VisualStudio::Text::Editor::ITextView ^ view, System::Object ^ content);
public:
 BlockContext(Microsoft::VisualStudio::Text::Tagging::IBlockTag ^ blockTag, Microsoft::VisualStudio::Text::Editor::ITextView ^ view, Platform::Object ^ content);
 BlockContext(Microsoft::VisualStudio::Text::Tagging::IBlockTag const & blockTag, Microsoft::VisualStudio::Text::Editor::ITextView const & view, winrt::Windows::Foundation::IInspectable const & content);
public BlockContext (Microsoft.VisualStudio.Text.Tagging.IBlockTag blockTag, Microsoft.VisualStudio.Text.Editor.ITextView view, object content);
new Microsoft.VisualStudio.Text.Adornments.BlockContext : Microsoft.VisualStudio.Text.Tagging.IBlockTag * Microsoft.VisualStudio.Text.Editor.ITextView * obj -> Microsoft.VisualStudio.Text.Adornments.BlockContext
Public Sub New (blockTag As IBlockTag, view As ITextView, content As Object)

Parameters

blockTag
IBlockTag

The block tag associated with the structural block.

view
ITextView

The text view associated with the structural block.

content
Object

The content, including hiearchical parent statements, to be displayed in the tooltip.

Applies to