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
- group
Type: Microsoft.VisualStudio.Language.Intellisense.StandardGlyphGroup
The StandardGlyphGroup for this glyph.
- item
Type: Microsoft.VisualStudio.Language.Intellisense.StandardGlyphItem
The StandardGlyphItem for this glyph.
Return Value
Type: System.Windows.Media.ImageSource
A valid WPF ImageSource that contains the requested glyph.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.