Método IGlyphFactory.GenerateGlyph
Gera um novo visual do glifo para determinada linha.
Namespace: Microsoft.VisualStudio.Text.Editor
Assembly: Microsoft.VisualStudio.Text.UI.Wpf (em Microsoft.VisualStudio.Text.UI.Wpf.dll)
Sintaxe
'Declaração
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
Parâmetros
line
Tipo: Microsoft.VisualStudio.Text.Formatting.IWpfTextViewLineA que este glifo será colocado na linha.
tag
Tipo: Microsoft.VisualStudio.Text.Editor.IGlyphTagInformações sobre o glifo para o qual o visual está sendo gerado.
Valor de retorno
Tipo: UIElement
O elemento visual para a marcação informada.
Segurança do .NET Framework
- Confiança total para o chamador imediato. O membro não pode ser usado por código parcialmente confiável. Para obter mais informações, consulte Usando bibliotecas de código parcialmente confiável.