Extension.RibbonItems 屬性
適用於版本2
取得一律可用之功能區項目的序列。
命名空間: Microsoft.WebMatrix.Extensibility
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Public Property RibbonItems As ReadOnlyCollection(Of RibbonItem)
Get
Private Set
'用途
Dim instance As Extension
Dim value As ReadOnlyCollection(Of RibbonItem)
value = instance.RibbonItems
public ReadOnlyCollection<RibbonItem> RibbonItems { get; private set; }
public:
property ReadOnlyCollection<RibbonItem^>^ RibbonItems {
ReadOnlyCollection<RibbonItem^>^ get ();
private: void set (ReadOnlyCollection<RibbonItem^>^ value);
}
member RibbonItems : ReadOnlyCollection<RibbonItem> with get, private set
function get RibbonItems () : ReadOnlyCollection<RibbonItem>
private function set RibbonItems (value : ReadOnlyCollection<RibbonItem>)
屬性值
型別:System.Collections.ObjectModel.ReadOnlyCollection<RibbonItem>
一律可用之 Ribbon 項目的序列。