- check
- The string to check.
Visual Basic (Declaration) | |
---|---|
<ExtensionAttribute()> Public Shared Function IsAlphaNumeric( _ ByVal check As String _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim check As String Dim value As Boolean value = Extensions.IsAlphaNumeric(check) |
C# | |
---|---|
[ExtensionAttribute()] public static bool IsAlphaNumeric( string check ) |
C++/CLI | |
---|---|
[ExtensionAttribute()] public: static bool IsAlphaNumeric( String^ check ) |
Parameters
- check
- The string to check.
Return Value
true
if string is alphanumeric; otherwise, false
.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7