ArgumentValidation.AcceptLegalFilePathsOnly<T> Méthode

Définition

Configure l’argument pour accepter uniquement les valeurs représentant des chemins de fichier juridique.

public:
generic <typename T>
[System::Runtime::CompilerServices::Extension]
 static System::CommandLine::Argument<T> ^ AcceptLegalFilePathsOnly(System::CommandLine::Argument<T> ^ argument);
public static System.CommandLine.Argument<T> AcceptLegalFilePathsOnly<T>(this System.CommandLine.Argument<T> argument);
static member AcceptLegalFilePathsOnly : System.CommandLine.Argument<'T> -> System.CommandLine.Argument<'T>
<Extension()>
Public Function AcceptLegalFilePathsOnly(Of T) (argument As Argument(Of T)) As Argument(Of T)

Paramètres de type

T

Paramètres

argument
Argument<T>

Retours

S’applique à