Udostępnij za pośrednictwem


Konstruktor DropDownMember —

Inicjuje nowe wystąpienie DropDownMember klasy.

Przestrzeń nazw:  Microsoft.VisualStudio.Package
Zestawy:   Microsoft.VisualStudio.Package.LanguageService (w Microsoft.VisualStudio.Package.LanguageService.dll)
  Microsoft.VisualStudio.Package.LanguageService.10.0 (w Microsoft.VisualStudio.Package.LanguageService.10.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.11.0 (w Microsoft.VisualStudio.Package.LanguageService.11.0.dll)
  Microsoft.VisualStudio.Package.LanguageService.9.0 (w Microsoft.VisualStudio.Package.LanguageService.9.0.dll)

Składnia

'Deklaracja
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
)

Parametry

  • label
    Typ: System.String
    [w] Ciąg reprezentujący tekst ma być wyświetlany w polu kombi.
  • glyph
    Typ: System.Int32
    [w] Indeks do listy obrazów do glif, który jest wyświetlany z tego wpisu w polu kombi.

Uwagi

Te cztery parametry określają wszystkie elementy wymagane przez pole kombi, aby wyświetlić wpis.

Zabezpieczenia programu .NET Framework

Zobacz też

Informacje

DropDownMember Klasa

Przestrzeń nazw Microsoft.VisualStudio.Package