Share via


DropDownMember Constructor

Initializes a new instance of the DropDownMember class.

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 Sub New ( _
    label As String, _
    span As TextSpan, _
    glyph As Integer, _
    fontAttribute As DROPDOWNFONTATTR _
)
public DropDownMember(
    string label,
    TextSpan span,
    int glyph,
    DROPDOWNFONTATTR fontAttribute
)
public:
DropDownMember(
    String^ label, 
    TextSpan span, 
    int glyph, 
    DROPDOWNFONTATTR fontAttribute
)
new : 
        label:string * 
        span:TextSpan * 
        glyph:int * 
        fontAttribute:DROPDOWNFONTATTR -> DropDownMember
public function DropDownMember(
    label : String, 
    span : TextSpan, 
    glyph : int, 
    fontAttribute : DROPDOWNFONTATTR
)

Parameters

  • label
    Type: String

    [in] A string representing the text to be shown in the combo box.

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