[This is preliminary documentation and is subject to change.]
Tries to convert string to number, returns null if conversion could not be made.
Raises exception if operand is wider than specifier allows
Namespace: NFX.CodeAnalysis.CSharpAssembly: NFX (in NFX.dll) Version: 3.0.0.1 (3.0.0.1)
public static Object Convert(
string str,
out CSTokenType type
)
public static Object Convert(
string str,
out CSTokenType type
)
Public Shared Function Convert (
str As String,
<OutAttribute> ByRef type As CSTokenType
) As Object
Public Shared Function Convert (
str As String,
<OutAttribute> ByRef type As CSTokenType
) As Object
public:
static Object^ Convert(
String^ str,
[OutAttribute] CSTokenType% type
)
public:
static Object^ Convert(
String^ str,
[OutAttribute] CSTokenType% type
)
static member Convert :
str : string *
type : CSTokenType byref -> Object
static member Convert :
str : string *
type : CSTokenType byref -> Object
Return Value
Type:
Object