DropDownMember(String, TextSpan, Int32, DROPDOWNFONTATTR) 构造函数
定义
重要
一些信息与预发行产品相关,相应产品在发行之前可能会进行重大修改。 对于此处提供的信息,Microsoft 不作任何明示或暗示的担保。
初始化 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)
参数
- label
- String
中一个字符串,表示要在组合框中显示的文本。
- glyph
- Int32
中图像列表中的索引,指向组合框中此项所显示的标志符号。
- fontAttribute
- DROPDOWNFONTATTR
中枚举中的一个集合标志,用于 DROPDOWNFONTATTR 描述如何在组合框中呈现标签。
注解
这四个参数指定组合框显示条目所需的所有内容。