|
TypeConvertTryParseT Method |
Try parse the string to the generic type
Namespace: DrawerBackup.NativeAssembly: DrawerBackup.Native (in DrawerBackup.Native.dll) Version: 0.0.1.1 (0.0.1.1)
Syntaxpublic static T TryParse<T>(
string from,
T _default = null
)
Public Shared Function TryParse(Of T) (
from As String,
Optional _default As T = Nothing
) As T
public:
generic<typename T>
static T TryParse(
String^ from,
T _default = nullptr
)
static member TryParse :
from : string *
?_default : 'T
(* Defaults:
let __default = defaultArg _default null
*)
-> 'T
Parameters
- from
- Type: SystemString
- _default (Optional)
- Type: T
Type Parameters
- T
Return Value
Type:
T
See Also