ParserParseT Method (String) |
Will parse s into T, provided T has a Parse(string) or TryParse(string s, out T t) method defined, or is one of the magical
special cases we've implemented (including ICollection (comma delimited), Nullable and Enums).
Namespace: Bio.UtilAssembly: Bio.Core (in Bio.Core.dll) Version: 2.0.0.1 (2.0.0.1)
Syntax public static T Parse<T>(
string s
)
Public Shared Function Parse(Of T) (
s As String
) As T
public:
generic<typename T>
static T Parse(
String^ s
)
static member Parse :
s : string -> 'T
Parameters
- s
- Type: SystemString
the string to parse
Type Parameters
- T
- The type to parse into
Return Value
Type:
Tthe value
See Also