共用方式為


DropDownMember.Glyph Property

Gets or sets the image index to associate with the entry's text.

Namespace:  Microsoft.VisualStudio.Package
Assemblies:   Microsoft.VisualStudio.Package.LanguageService (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (in Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (in Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'宣告
Public Property Glyph As Integer
public int Glyph { get; set; }

Property Value

Type: System.Int32
The image index.

Remarks

For more information about the images, see Implementing a Language Service (Managed Package Framework) The section entitled "The Default Image List for a Language Service" provides a list of standard icons and their names.

.NET Framework Security

See Also

Reference

DropDownMember Class

Microsoft.VisualStudio.Package Namespace