RibbonGroup 建構函式 (String, IEnumerable<RibbonItem>)
適用於版本2
初始化 RibbonGroup 類別的新執行個體。
命名空間: Microsoft.WebMatrix.Extensibility
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Public Sub New ( _
label As String, _
items As IEnumerable(Of RibbonItem) _
)
'用途
Dim label As String
Dim items As IEnumerable(Of RibbonItem)
Dim instance As New RibbonGroup(label, items)
public RibbonGroup(
string label,
IEnumerable<RibbonItem> items
)
public:
RibbonGroup(
String^ label,
IEnumerable<RibbonItem^>^ items
)
new :
label:string *
items:IEnumerable<RibbonItem> -> RibbonGroup
public function RibbonGroup(
label : String,
items : IEnumerable<RibbonItem>
)
參數
label
型別:System.String群組的標籤。
items
型別:System.Collections.Generic.IEnumerable<RibbonItem>群組中的項目。