IdeaBlade DevForce 2010 Help Reference
USPhone Field
See Also  Send Feedback
IdeaBlade.Validation Assembly > IdeaBlade.Validation Namespace > NamedRegexPattern Class : USPhone Field



Phone pattern.

Syntax

Visual Basic (Declaration) 
Public Shared USPhone As NamedRegexPattern
Visual Basic (Usage)Copy Code
Dim value As NamedRegexPattern
 
value = NamedRegexPattern.USPhone
 
NamedRegexPattern.USPhone = value
C# 
public static NamedRegexPattern USPhone
C++/CLI 
public:
static NamedRegexPattern^ USPhone

Remarks

A U.S. phone number must be formatted as (XXX)XXX-XXXX or XXX-XXX-XXXX to be valid. There can be an optional space after the closing parenthesis on an area code and the first digit of an area code or phone number must not be a 1

Requirements

Target Platforms: Windows 98, Windows NT 4.0, Windows Millennium Edition, Windows 2000, Windows XP Home Edition, Windows XP Professional, Windows Server 2003 family, Windows Vista, Windows Server 2008 family

See Also

© 2013 All Rights Reserved.