Skip to main content

Member Sections

The Member Sections page enables you to specify the default header and footer values for member sections. The specified values can be used in templates. To insert a header or footer into a template expansion use the MemberHeader or MemberFooter string provider with the appropriate argument (“Fields”, “Methods”, “Properties”, or “Constructors”).

Currerntly the options on this page affect the p?type? template, the Convert to Property with Backing Store code provider, and the Create Backing Store refactoring.

opMemberSections

The options page contains four identical groups of options. These groups specify a header and footer for Fields, Methods, Properties and Constructors code sections. Each group contains the following options.

Option Description
Header Specifies the text inserted before a generated code section.
Footer Specifies the text inserted after a generated code section.

Note

Specify the feature availability via the Organization options page.

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.