All docs
V20.1
20.1
19.2
19.1
The page you are viewing does not exist in version 19.1. This link will take you to the root page.
18.2
The page you are viewing does not exist in version 18.2. This link will take you to the root page.
18.1
The page you are viewing does not exist in version 18.1. This link will take you to the root page.
17.2
The page you are viewing does not exist in version 17.2. This link will take you to the root page.

How to: Create a Rule

Follow the steps below to create a new rule for non-public enumerations:

  • Open the Editor | All Languages | Organize Members options page.

  • Click the Add Rule button to add a new rule.

  • Use the Move Up and Move Down buttons to change the rule's position.

  • Enter the rule name to the Rule name field on the right. In this case, the rule name is Non-Public Enumerations.

    RuleName

  • Configure grouping:

    • Set the Node kind item to Enum.

      NodeKind

    • Switch Kind to Visibility.

      KindVisibility

    • Focus the Node kind item.

      FocusNodeKind

    • Click the And button to create the And group.

      AndButton

    • Expand the newly-created And group and set the Visibility to Public.

      CustomizeAndGroup

    • Focus the Visibility item and click the Not button to create the Not group and put the Visibility (focused) item there.

      CreateNotGroup

    • Expand the Not group and check that you have the following filter.

      Config_OrgMem_Group

  • Configure sorting (optional) or leave it as is.

    SortingGroup

  • Click Apply and OK to save the changes and close the Organize Members window.

    SaveAndCloseWindow

  • Run Organize Members.

    Place the caret in a type declaration and select Organize Members from the menu.