Cuemon .NET Framework
IsNumeric(String,NumberStyles) Method

The value to be evaluated.
A bitwise combination of System.Globalization.NumberStyles values that indicates the permitted format of value.
Determines whether the specified value can be evaluated as a number.
Syntax
'Declaration
 
Public Overloads Shared Function IsNumeric( _
   ByVal value As String, _
   ByVal styles As NumberStyles _
) As Boolean
public static bool IsNumeric( 
   string value,
   NumberStyles styles
)

Parameters

value
The value to be evaluated.
styles
A bitwise combination of System.Globalization.NumberStyles values that indicates the permitted format of value.

Return Value

true if the specified value can be evaluated as a number; otherwise, false.
Remarks
This method implements a default culture-specific formatting information about value specified to System.Globalization.CultureInfo.InvariantCulture.
Requirements

Target Platforms: Windows 8, Windows Server 2012, Windows 7, Windows Vista SP1 or later, Windows XP SP3, Windows Server 2008 (Server Core not supported), Windows Server 2008 R2 (Server Core supported with SP1 or later), Windows Server 2003 SP2

See Also

Reference

Condition Class
Condition Members
Overload List

 

 


| Cuemon is licensed under a The MIT License (MIT)



© 2009-2015 Weubphoria. All Rights Reserved.

Documentation made easy with Document! X by Innovasys

Send Feedback