Skip to main content

Declare Method

The Declare Method page contains options that specify the position of automatically declared methods.

opDeclareMethod

The available values are:

  • Before source method/property - declares a new method right before a method or property containing the reference for which the Declare Method code provider was called;
  • After source method/property - declares a new method right after a method or property containing the reference for which the Declare Method code provider was called;
  • At the location I choose with the target picker - enables you to choose the method location with the target picker.

Note

This product is designed for outdated versions of Visual Studio. Although Visual Studio 2015 is supported, consider using the CodeRush extension with Visual Studio 2015 or higher.