ValidateEnumValueAttributeAllowNumericValues Property
Gets or sets a value that indicates whether the value provided by the user can the
underlying numeric type of the enumeration.
Namespace: Ookii.CommandLine.ValidationAssembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
public bool AllowNumericValues { get; set; }
Public Property AllowNumericValues As Boolean
Get
Set
Dim instance As ValidateEnumValueAttribute
Dim value As Boolean
value = instance.AllowNumericValues
instance.AllowNumericValues = value
public:
property bool AllowNumericValues {
bool get ();
void set (bool value);
}
Property Value
Boolean if numeric values are allowed; otherwise,
to
allow only value names. The default value is
.