[RegularExpressionAttribute("^[A-Z0-9]+$", ErrorMessage = "Only three upper case letters or numbers are allowed.")]
[RequiredAttribute]
[StringLengthAttribute(10)]
publicstringMapAcronym { get; set; }
<RegularExpressionAttribute("^[A-Z0-9]+$", ErrorMessage := "Only three upper case letters or numbers are allowed.")>
<RequiredAttribute>
<StringLengthAttribute(10)>
PublicPropertyMapAcronymAsStringGetSet
public:
[RegularExpressionAttribute(L"^[A-Z0-9]+$", ErrorMessage = L"Only three upper case letters or numbers are allowed.")]
[RequiredAttribute]
[StringLengthAttribute(10)]
propertyString^ MapAcronym {
String^ get ();
voidset (String^ value);
}
[<RegularExpressionAttribute("^[A-Z0-9]+$", ErrorMessage = "Only three upper case letters or numbers are allowed.")>]
[<RequiredAttribute>]
[<StringLengthAttribute(10)>]
memberMapAcronym : stringwithget, set
function get_MapAcronym();
function set_MapAcronym(value);