Option<T>.DefaultValueFactory Propriété
Définition
Important
Certaines informations portent sur la préversion du produit qui est susceptible d’être en grande partie modifiée avant sa publication. Microsoft exclut toute garantie, expresse ou implicite, concernant les informations fournies ici.
Obtient ou définit le délégué à appeler pour créer la valeur par défaut.
public:
property Func<System::CommandLine::Parsing::ArgumentResult ^, T> ^ DefaultValueFactory { Func<System::CommandLine::Parsing::ArgumentResult ^, T> ^ get(); void set(Func<System::CommandLine::Parsing::ArgumentResult ^, T> ^ value); };
public Func<System.CommandLine.Parsing.ArgumentResult,T>? DefaultValueFactory { get; set; }
member this.DefaultValueFactory : Func<System.CommandLine.Parsing.ArgumentResult, 'T> with get, set
Public Property DefaultValueFactory As Func(Of ArgumentResult, T)