To expose all constants for a selected class
Right-click on the class row in the Classes table and then select the Expose Constants for Selected Class command from the popup menu that is displayed.
This command does not automatically add methods to the C# exposure, even if the Show Methods option is checked. (For details, see "Toggling the Display of Methods", later in this chapter.)
All constants in that class are then exposed for inclusion in the C# exposure; that is, each constant check box in the Features pane is checked, indicating that the constants for that class will be generated in the C# class library. Exposed class constants are displayed with a green font.
You can tailor the constant selection by unchecking the check box of any constant that you want to exclude from the exposure.