标签:设置 name ipad mod ipaddress res regex display string
1.IP地址IPV4
[XafDisplayName("IP地址"), Size(50)] [ModelDefault("EditMaskType", "RegEx")] [ModelDefault("EditMask", @"(([0-1]?[0-9]{1,2}\.)|(2[0-4][0-9]\.)|(25[0-5]\.)){3}(([0-1]?[0-9]{1,2})|(2[0-4][0-9])|(25[0-5]))")] public string ipaddress { get; set; }
标签:设置 name ipad mod ipaddress res regex display string
原文地址:https://www.cnblogs.com/GundamPeter/p/9395175.html