DropDownMember(String, TextSpan, Int32, DROPDOWNFONTATTR) Constructeur

Définition

Initialise une nouvelle instance de la classe DropDownMember.

public:
 DropDownMember(System::String ^ label, Microsoft::VisualStudio::TextManager::Interop::TextSpan span, int glyph, Microsoft::VisualStudio::TextManager::Interop::DROPDOWNFONTATTR fontAttribute);
public:
 DropDownMember(Platform::String ^ label, Microsoft::VisualStudio::TextManager::Interop::TextSpan span, int glyph, Microsoft::VisualStudio::TextManager::Interop::DROPDOWNFONTATTR fontAttribute);
 DropDownMember(std::wstring const & label, Microsoft::VisualStudio::TextManager::Interop::TextSpan span, int glyph, Microsoft::VisualStudio::TextManager::Interop::DROPDOWNFONTATTR fontAttribute);
public DropDownMember (string label, Microsoft.VisualStudio.TextManager.Interop.TextSpan span, int glyph, Microsoft.VisualStudio.TextManager.Interop.DROPDOWNFONTATTR fontAttribute);
new Microsoft.VisualStudio.Package.DropDownMember : string * Microsoft.VisualStudio.TextManager.Interop.TextSpan * int * Microsoft.VisualStudio.TextManager.Interop.DROPDOWNFONTATTR -> Microsoft.VisualStudio.Package.DropDownMember
Public Sub New (label As String, span As TextSpan, glyph As Integer, fontAttribute As DROPDOWNFONTATTR)

Paramètres

label
String

[in] Chaîne représentant le texte à afficher dans la zone de liste déroulante.

span
TextSpan

[in] Objet TextSpan qui spécifie l'emplacement dans la source que cette entrée représente.

glyph
Int32

[in] Index dans une liste d'images renvoyant à un glyphe affiché avec cette entrée dans la zone de liste déroulante.

fontAttribute
DROPDOWNFONTATTR

[in] Balises d'une collection de l'énumération DROPDOWNFONTATTR décrivant le mode de rendu de l'étiquette dans la zone de liste déroulante.

Remarques

Ces quatre paramètres spécifient tout ce qui est requis par la zone de liste déroulante pour afficher une entrée.

S’applique à