Sdílet prostřednictvím


CommandLineBuilderExtensions.UseLocalizationResources Metoda

Definice

Určuje lokalizační prostředky, které se mají použít při zobrazení nápovědy, chybových zpráv a dalších uživatelských řetězců.

public:
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Builder::CommandLineBuilder ^ UseLocalizationResources(System::CommandLine::Builder::CommandLineBuilder ^ builder, System::CommandLine::LocalizationResources ^ validationMessages);
public static System.CommandLine.Builder.CommandLineBuilder UseLocalizationResources (this System.CommandLine.Builder.CommandLineBuilder builder, System.CommandLine.LocalizationResources validationMessages);
static member UseLocalizationResources : System.CommandLine.Builder.CommandLineBuilder * System.CommandLine.LocalizationResources -> System.CommandLine.Builder.CommandLineBuilder
<Extension()>
Public Function UseLocalizationResources (builder As CommandLineBuilder, validationMessages As LocalizationResources) As CommandLineBuilder

Parametry

builder
CommandLineBuilder

Tvůrce příkazového řádku.

validationMessages
LocalizationResources

Prostředky lokalizace, které se mají použít.

Návraty

Stejná instance .CommandLineBuilder

Platí pro