Compartir a través de


DropDownMember Constructor

Initializes a new instance of the DropDownMember class.

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

'Declaración
Public Sub New ( _
    label As String, _
    span As TextSpan, _
    glyph As Integer, _
    fontAttribute As DROPDOWNFONTATTR _
)
public DropDownMember(
    string label,
    TextSpan span,
    int glyph,
    DROPDOWNFONTATTR fontAttribute
)

Parameters

  • label
    Type: System.String
    [in] A string representing the text to be shown in the combo box.
  • glyph
    Type: System.Int32
    [in] An index into an image list to a glyph that is shown with this entry in the combo box.

Remarks

These four parameters specify everything needed by the combo box to show an entry.

.NET Framework Security

See Also

Reference

DropDownMember Class

Microsoft.VisualStudio.Package Namespace