BlockContext(IBlockTag, ITextView, Object) 构造函数

定义

IBlockContext用指定的块标记初始化的新实例。

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)

参数

blockTag
IBlockTag

与结构块关联的块标记。

view
ITextView

与结构块关联的文本视图。

content
Object

要在工具提示中显示的内容(包括 hiearchical 父语句)。

适用于