ArgumentExtensions.WithSuggestions<TArgument> 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.
public:
generic <typename TArgument>
where TArgument : System::CommandLine::Argument[System::Runtime::CompilerServices::Extension]
static TArgument WithSuggestions(TArgument argument, ... cli::array <System::String ^> ^ suggestions);
public static TArgument WithSuggestions<TArgument>(this TArgument argument, params string[] suggestions) where TArgument : System.CommandLine.Argument;
static member WithSuggestions : 'Argument * string[] -> 'Argument (requires 'Argument :> System.CommandLine.Argument)
<Extension()>
Public Function WithSuggestions(Of TArgument As Argument) (argument As TArgument, ParamArray suggestions As String()) As TArgument
Type Parameters
- TArgument
Parameters
- argument
- TArgument
- suggestions
- String[]