共用方式為


IGlyphService.GetGlyph Method

Gets a glyph in the form of a WPF ImageSource.

Namespace:  Microsoft.VisualStudio.Language.Intellisense
Assembly:  Microsoft.VisualStudio.Language.Intellisense (in Microsoft.VisualStudio.Language.Intellisense.dll)

Syntax

'宣告
Function GetGlyph ( _
    group As StandardGlyphGroup, _
    item As StandardGlyphItem _
) As ImageSource
ImageSource GetGlyph(
    StandardGlyphGroup group,
    StandardGlyphItem item
)
ImageSource^ GetGlyph(
    StandardGlyphGroup group, 
    StandardGlyphItem item
)
abstract GetGlyph : 
        group:StandardGlyphGroup * 
        item:StandardGlyphItem -> ImageSource 
function GetGlyph(
    group : StandardGlyphGroup, 
    item : StandardGlyphItem
) : ImageSource

Parameters

Return Value

Type: System.Windows.Media.ImageSource
A valid WPF ImageSource that contains the requested glyph.

.NET Framework Security

See Also

Reference

IGlyphService Interface

Microsoft.VisualStudio.Language.Intellisense Namespace