DropDownMember 构造函数

初始化 DropDownMember 类的新实例。

命名空间:  Microsoft.VisualStudio.Package
程序集:   Microsoft.VisualStudio.Package.LanguageService(在 Microsoft.VisualStudio.Package.LanguageService.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.10.0(在 Microsoft.VisualStudio.Package.LanguageService.10.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.11.0(在 Microsoft.VisualStudio.Package.LanguageService.11.0.dll 中)
  Microsoft.VisualStudio.Package.LanguageService.9.0(在 Microsoft.VisualStudio.Package.LanguageService.9.0.dll 中)

语法

声明
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
)

参数

  • label
    类型:System.String
    [in] 表示文本的字符串将显示组合框。
  • glyph
    类型:System.Int32
    [in] 索引到图像中列出有关演示此项在组合框的标志符号。

备注

这四个参数指定组合框所需的所有内容显示项。

.NET Framework 安全性

请参见

参考

DropDownMember 类

Microsoft.VisualStudio.Package 命名空间