public TriState AllowNonDefinedValues { get; set; }
Public Property AllowNonDefinedValues As TriState
Get
Set
Dim instance As ValidateEnumValueAttribute
Dim value As TriState
value = instance.AllowNonDefinedValues
instance.AllowNonDefinedValues = value
public:
property TriState AllowNonDefinedValues {
TriState get ();
void set (TriState value);
}
Non-defined values can be provided using the underlying numeric type of the enumeration, or by using comma-separated values. If this property is TriStateTrue, or TriStateAuto and the enumeration has the FlagsAttribute attribute applied, this validator will not check whether a value provided in such a way actually is actually one of the enumeration's defined values.