Freigeben über


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.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 (in Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.12.0 (in Microsoft.VisualStudio.Package.LanguageService.12.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (in Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Syntax

'Declaration
Public Property Glyph As Integer
public int Glyph { get; set; }
public:
property int Glyph {
    int get ();
    void set (int value);
}
member Glyph : int with get, set
function get Glyph () : int 
function set Glyph (value : int)

Property Value

Type: 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