BoundValue.DefaultForValueDescriptor(IValueDescriptor) 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.
Gets a BoundValue representing the default value for a specified IValueDescriptor.
public:
static System::CommandLine::Binding::BoundValue DefaultForValueDescriptor(System::CommandLine::Binding::IValueDescriptor ^ valueDescriptor);
public static System.CommandLine.Binding.BoundValue DefaultForValueDescriptor (System.CommandLine.Binding.IValueDescriptor valueDescriptor);
static member DefaultForValueDescriptor : System.CommandLine.Binding.IValueDescriptor -> System.CommandLine.Binding.BoundValue
Public Shared Function DefaultForValueDescriptor (valueDescriptor As IValueDescriptor) As BoundValue
Parameters
- valueDescriptor
- IValueDescriptor
A value descriptor for which to get the default value.
Returns
A BoundValue representing the default value for a specified IValueDescriptor.
Applies to
Samarbeta med oss på GitHub
Källan för det här innehållet finns på GitHub, där du även kan skapa och granska ärenden och pull-begäranden. Se vår deltagarguide för mer information.