RibbonContextualTab 建構函式
適用於版本2
初始化 RibbonContextualTab 類別的新執行個體。
命名空間: 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 RibbonContextualTab(label, items)
public RibbonContextualTab(
string label,
IEnumerable<RibbonItem> items
)
public:
RibbonContextualTab(
String^ label,
IEnumerable<RibbonItem^>^ items
)
new :
label:string *
items:IEnumerable<RibbonItem> -> RibbonContextualTab
public function RibbonContextualTab(
label : String,
items : IEnumerable<RibbonItem>
)
參數
label
型別:System.String索引標籤的標籤。
items
型別:System.Collections.Generic.IEnumerable<RibbonItem>索引標籤中的項目。