Name
NumberStyles
Synopsis
This enumeration specifies a number of style rules that may be used
when a numeric type uses the Parse()
method to convert
a string into a number.
Public Enum NumberStyles None = &H000000000 AllowLeadingWhite = &H000000001 AllowTrailingWhite = &H000000002 AllowLeadingSign = &H000000004 Integer = &H000000007 AllowTrailingSign = &H000000008 AllowParentheses = &H000000010 AllowDecimalPoint = &H000000020 AllowThousands = &H000000040 Number = &H00000006F AllowExponent = &H000000080 Float = &H0000000A7 AllowCurrencySymbol = &H000000100 Currency = &H00000017F Any = &H0000001FF AllowHexSpecifier = &H000000200 HexNumber = &H000000203 End Enum
Hierarchy
System.Object→System.ValueType→ System.Enum(System.IComparable
, System.IFormattable
, System.IConvertible)→ NumberStyles
Passed To
System.Byte.Parse()
, System.Decimal.Parse()
, System.Double.{Parse()
, TryParse()}
, System.Int16.Parse()
, System.Int32.Parse()
, System.Int64.Parse()
, System.SByte.Parse()
, System.Single.Parse()
, System.UInt16.Parse()
, System.UInt32.Parse()
, System.UInt64.Parse()
Get VB.NET Core Classes in a Nutshell now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.