共用方式為


HelpBuilder.CustomizeLayout 方法

定義

自訂將顯示的說明區段。

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)))

參數

getLayout
Func<HelpContext,IEnumerable<HelpSectionDelegate>>

委派,會依照應該寫入的順序傳回區段。

適用於