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
Collaborate with us on GitHub
The source for this content can be found on GitHub, where you can also create and review issues and pull requests. For more information, see our contributor guide.