Cuemon .NET Framework
FromString<T>(String) Method

The type of the expected return value after conversion.
The string value to convert.
Converts the specified string to its T equivalent.
Syntax
'Declaration
 
Public Overloads Shared Function FromString(Of T)( _
   ByVal value As String _
) As T
public static T FromString<T>( 
   string value
)

Parameters

value
The string value to convert.

Type Parameters

T
The type of the expected return value after conversion.

Return Value

An object that is equivalent to T contained in value.
Exceptions
ExceptionDescription
System.ArgumentExceptionInvalid value for T specified.
System.NotSupportedException The conversion cannot be performed.
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

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