System.ComponentModel.DataAnnotations.PhoneAttribute public sealed class PhoneAttribute : DataTypeAttribute Specifies that a data field value is a well-formed phone number. Documentation Code public PhoneAttribute() Initializes a new instance of the PhoneAttribute class.