ValidateEnumValueAttributeCaseSensitive Property

Gets or sets a value that indicates whether enumeration value conversion is case sensitive.

Definition

Namespace: Ookii.CommandLine.Validation
Assembly: Ookii.CommandLine (in Ookii.CommandLine.dll) Version: 5.0.0+724ca9b7fa5edc075ec2ae65044e61b0d494fd1c
C#
public bool CaseSensitive { get; set; }

Property Value

Boolean
if conversion is case sensitive; otherwise, . The default value is .

Remarks

This property is not used by the ValidateEnumValueAttribute class itself, but by the EnumConverter class. Therefore, this property may not work if a custom argument converter is used, unless that custom converter also checks this property.

See Also