Leadtools.Dicom.Common Send comments on this topic. | Back to Introduction - All Topics | Help Version 17.0.3.29
IsNumeric Method
See Also 
Leadtools.Dicom.Common.Extensions Namespace > GeneralExtensions Class : IsNumeric Method



s
The string to check.
s
The string to check.
Determines whether the specified string is numeric.

Syntax

Visual Basic (Declaration) 
<ExtensionAttribute()>
Public Shared Function IsNumeric( _
   ByVal s As String _
) As Boolean
Visual Basic (Usage)Copy Code
Dim s As String
Dim value As Boolean
 
value = GeneralExtensions.IsNumeric(s)
C# 
[ExtensionAttribute()]
public static bool IsNumeric( 
   string s
)
C++/CLI 
[ExtensionAttribute()]
public:
static bool IsNumeric( 
   String^ s
) 

Parameters

s
The string to check.

Return Value

true if the specified string is numeric; otherwise, false.

Requirements

Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7

See Also

Leadtools.Dicom.Common requires a Document or Medical toolkit license and unlock key. For more information, refer to: Imaging Pro/Document/Medical Features