Dela via


Extract Interface Dialog Box

Use this dialog box to specify settings for the Extract Interface refactoring operation. This dialog box is available from the Refactor menu.

  • New interface name
    Specifies the name for the interface to be generated.

  • Generated name
    Displays the name that is added to the bases and interfaces list of the type (class or struct) from which the interface was extracted.

  • New file name
    Specifies the name of the new file that will contain the new interface.

  • Select public members to form interface
    Lists all the valid members that you can use to populate the new interface. These include methods, indexers, properties, and events.

    Select each member that you want to extract into the new interface. You can use the buttons at the right to Select All or Deselect All members to form the interface.

See Also

Tasks

How to: Refactor Code with Extract Interface

Concepts

Refactoring