BlockContext(IBlockTag, ITextView, Object) Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
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.