Click or drag to resize

CommandLocationListExtensionMethodsDomainMenu Method

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

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


Type: System.Collections.GenericListICommandLocation
The list to add the location to.
priority (Optional)
Type: SystemInt32
Determines the command button's location inside the menu.
icon (Optional)
Type: SystemString
The name of the icon that will be shown next to the menu item. Use the values defined in MenuIcon.
separatorBefore (Optional)
Type: SystemBoolean
Creates a separator before this menu item.
noSeparatorAfter (Optional)
Type: SystemBoolean
Prevents any line separators from being drawn after this item.

Return Value

Type: 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