Edit

Share via


BoundValue.DefaultForValueDescriptor(IValueDescriptor) Method

Definition

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