CommandLineBuilderExtensions.UseLocalizationResources 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.
Specifies localization resources to be used when displaying help, error messages, and other user-facing strings.
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
Parameters
- builder
- CommandLineBuilder
A command line builder.
- validationMessages
- LocalizationResources
The localizations resources to use.
Returns
The same instance of CommandLineBuilder.
Applies to
Met ons samenwerken op GitHub
De bron voor deze inhoud vindt u op GitHub, waar u ook problemen en pull-aanvragen kunt maken en controleren. Bekijk onze gids voor inzenders voor meer informatie.