public bool IncludeValuesInErrorMessage { get; set; }
Public Property IncludeValuesInErrorMessage As Boolean
Get
Set
Dim instance As ValidateEnumValueAttribute
Dim value As Boolean
value = instance.IncludeValuesInErrorMessage
instance.IncludeValuesInErrorMessage = value
public:
property bool IncludeValuesInErrorMessage {
bool get ();
void set (bool value);
}
This property is used when validation fails, and is also checked by the EnumConverter class when conversion fails due to an invalid string value.