为给定行生成新的标志符号可视化表示形式。
命名空间: Microsoft.VisualStudio.Text.Editor
程序集: Microsoft.VisualStudio.Text.UI.Wpf(在 Microsoft.VisualStudio.Text.UI.Wpf.dll 中)
语法
声明
Function GenerateGlyph ( _
line As IWpfTextViewLine, _
tag As IGlyphTag _
) As UIElement
UIElement GenerateGlyph(
IWpfTextViewLine line,
IGlyphTag tag
)
UIElement^ GenerateGlyph(
IWpfTextViewLine^ line,
IGlyphTag^ tag
)
abstract GenerateGlyph :
line:IWpfTextViewLine *
tag:IGlyphTag -> UIElement
function GenerateGlyph(
line : IWpfTextViewLine,
tag : IGlyphTag
) : UIElement
参数
line
类型:Microsoft.VisualStudio.Text.Formatting.IWpfTextViewLine将在其中放置此标志符号的行。
tag
类型:Microsoft.VisualStudio.Text.Editor.IGlyphTag有关要为其生成可视化表示形式的标志符号的信息。
返回值
类型:UIElement
给定标记的可视化元素。
.NET Framework 安全性
- 对直接调用方的完全信任。此成员不能由部分信任的代码使用。有关详细信息,请参阅通过部分受信任的代码使用库。