HelpBuilder.CustomizeLayout Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Customizes the help sections that will be displayed.
public:
void CustomizeLayout(Func<System::CommandLine::Help::HelpContext ^, System::Collections::Generic::IEnumerable<System::CommandLine::Help::HelpSectionDelegate ^> ^> ^ getLayout);
public void CustomizeLayout (Func<System.CommandLine.Help.HelpContext,System.Collections.Generic.IEnumerable<System.CommandLine.Help.HelpSectionDelegate>> getLayout);
member this.CustomizeLayout : Func<System.CommandLine.Help.HelpContext, seq<System.CommandLine.Help.HelpSectionDelegate>> -> unit
Public Sub CustomizeLayout (getLayout As Func(Of HelpContext, IEnumerable(Of HelpSectionDelegate)))
Parameters
- getLayout
- Func<HelpContext,IEnumerable<HelpSectionDelegate>>
A delegate that returns the sections in the order in which they should be written.
Applies to
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.