Sdílet prostřednictvím


IGlyphService.GetGlyph(StandardGlyphGroup, StandardGlyphItem) Method

Definition

Gets a glyph in the form of a WPF ImageSource.

public:
 System::Windows::Media::ImageSource ^ GetGlyph(Microsoft::VisualStudio::Language::Intellisense::StandardGlyphGroup group, Microsoft::VisualStudio::Language::Intellisense::StandardGlyphItem item);
public System.Windows.Media.ImageSource GetGlyph (Microsoft.VisualStudio.Language.Intellisense.StandardGlyphGroup group, Microsoft.VisualStudio.Language.Intellisense.StandardGlyphItem item);
abstract member GetGlyph : Microsoft.VisualStudio.Language.Intellisense.StandardGlyphGroup * Microsoft.VisualStudio.Language.Intellisense.StandardGlyphItem -> System.Windows.Media.ImageSource
Public Function GetGlyph (group As StandardGlyphGroup, item As StandardGlyphItem) As ImageSource

Parameters

group
StandardGlyphGroup

The group description for this glyph.

item
StandardGlyphItem

The item description for this glyph.

Returns

A valid WPF ImageSource that contains the requested glyph.

Applies to