Cuemon .NET Framework
FromString(String,IFormatProvider) Method

The string to convert the underlying type.
An object that supplies culture-specific formatting information.
Returns a primitive object whose value is equivalent to the specified value.
Syntax
'Declaration
 
Public Overloads Shared Function FromString( _
   ByVal value As String, _
   ByVal provider As IFormatProvider _
) As Object
public static object FromString( 
   string value,
   IFormatProvider provider
)

Parameters

value
The string to convert the underlying type.
provider
An object that supplies culture-specific formatting information.

Return Value

An object whose type is primitive (either System.Boolean, System.Int64 or System.Double) and whose value is equivalent to value. If conversion is unsuccessful, the original value is returned.
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

ObjectConverter Class
ObjectConverter 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