CommandLocationListExtensionMethodsDomainMenu Method

Adds a new DomainMenuCommandLocation to the list. This location corresponds to a domain node's context menu.

Definition

Namespace: MFiles.VAF.Configuration.AdminConfigurations
Assembly: MFiles.VAF.Configuration (in MFiles.VAF.Configuration.dll) Version: 23.12.13247.3
C#
public static List<ICommandLocation> DomainMenu(
	this List<ICommandLocation> commandList,
	int priority = 0,
	string icon = null,
	bool separatorBefore = false,
	bool noSeparatorAfter = false
)

Parameters

commandList  ListICommandLocation
The list to add the location to.
priority  Int32  (Optional)
Determines the command button's location inside the menu.
icon  String  (Optional)
The name of the icon that will be shown next to the menu item. Use the values defined in MenuIcon.
separatorBefore  Boolean  (Optional)
Creates a separator before this menu item.
noSeparatorAfter  Boolean  (Optional)
Prevents any line separators from being drawn after this item.

Return Value

ListICommandLocation
The command list, for chaining.

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type ListICommandLocation. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).

See Also