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:
-
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.
-
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:
-
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.
-
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.
-
Generate XML comments: check this option if you want XML descriptive comments to be generated for the newly inserted code.
-
You can enclose the generated code between #Region
and #End Region directives
by checking the corresponding option.
-
Press the Standards button in order to review the naming standards configuration since this one will be considered when generating code.
-
Press Insert to generate and insert the desired code based on the above specified settings.
See Also
Back to top
|