ContextMenuService.GetItems Method
Gets a list of menu items.
Namespace: Microsoft.Windows.Design.Services
Assembly: Microsoft.Windows.Design.Interaction (in Microsoft.Windows.Design.Interaction.dll)
Syntax
'Declaration
Public Function GetItems As IEnumerable(Of MenuBase)
public IEnumerable<MenuBase> GetItems()
public:
IEnumerable<MenuBase^>^ GetItems()
member GetItems : unit -> IEnumerable<MenuBase>
public function GetItems() : IEnumerable<MenuBase>
Return Value
Type: System.Collections.Generic.IEnumerable<MenuBase>
An enumeration of currently applicable menu items.
.NET Framework Security
- Full trust for the immediate caller. This member cannot be used by partially trusted code. For more information, see Using Libraries from Partially Trusted Code.
See Also
Reference
Microsoft.Windows.Design.Services Namespace