You are here: AxTools > CodeSMART 2009 for VS.NET > Documentation > User's Guide > Advanced Code Builders > Implementing Member Override
While browsing this page, why not start downloading the evaluation setup kit (direct download, no questions asked).

Implementing Member Override
Applies to: Visual Studio .NET 2002, Visual Studio .NET 2003, Visual Studio 2005, Visual Studio 2008

The Implement Member Override tool can help you implement base type method overrides into the current type.

To implement an override method:

  1. Open the Visual Basic or C# code module containing the type you want to implement override methods for and place the cursor inside that type's code.
  2. In the CodeSMART main menu, select the Implement Member Override entry from the Code Builder Tools popup menu, Implement Advanced Code secondary popup, or choose the Member Override entry from the Implement toolbar popup (quick toolbar and menu references are available).

    The Implement Member Override dialog will be displayed:
  3. Select one of the active type's inherited base types in order to view this one's overridable members. Tip: If you want for fully qualified names to be displayed then you should tick the respective checkbox.
  4. From the list of overridable members corresponding to the selected base type, pick the ones you want to have override methods added for. You can use the All On and All Off hyperlinks if you want to select/unselect all the overridable methods in the current base type.
  5. Generate XML comments: check this option if you want XML descriptive comments to be generated for the newly inserted code.
  6. You can enclose the generated code between #Region and #End Region directives by checking the corresponding option.
  7. Press the Standards button in order to review the naming standards configuration since this one will be considered when generating code.
  8. Press Insert to generate and insert the desired code based on the above specified settings.
See Also
Advanced Code Builders Overview
Implementing Interfaces
Implementing Object Construction and Destruction
Implementing Common Object Operations
Implementing Object Serialization and Deserialization
Implementing Event Definitions in C#
Inserting Custom Exception Classes
Inserting Custom Formatter Classes
Inserting Strongly Typed Collection Classes

Back to top