ContextMenuOpeningEventArgs.AddedMenuItems 屬性
適用於版本2
取得已新增至內容功能表的 IContextMenuItem 執行個體序列。
命名空間: Microsoft.WebMatrix.Extensibility
組件: Microsoft.WebMatrix.Extensibility (在 Microsoft.WebMatrix.Extensibility.dll 中)
語法
'宣告
Public Overridable ReadOnly Property AddedMenuItems As IEnumerable(Of IContextMenuItem)
Get
'用途
Dim instance As ContextMenuOpeningEventArgs
Dim value As IEnumerable(Of IContextMenuItem)
value = instance.AddedMenuItems
public virtual IEnumerable<IContextMenuItem> AddedMenuItems { get; }
public:
virtual property IEnumerable<IContextMenuItem^>^ AddedMenuItems {
IEnumerable<IContextMenuItem^>^ get ();
}
abstract AddedMenuItems : IEnumerable<IContextMenuItem>
override AddedMenuItems : IEnumerable<IContextMenuItem>
function get AddedMenuItems () : IEnumerable<IContextMenuItem>
屬性值
型別:System.Collections.Generic.IEnumerable<IContextMenuItem>
已新增至內容功能表的 IContextMenuItem 執行個體序列。