 | ValueConverterTryFromStringT Method (String, Object) |
Creates an instance of the specified type from string data.
Namespace:
Ranorex.Core
Assembly:
Ranorex.Core (in Ranorex.Core.dll) Version: 12.7.4-git.38314c06
Syntaxpublic static bool TryFromString<T>(
string value,
out Object result
)
Public Shared Function TryFromString(Of T) (
value As String,
<OutAttribute> ByRef result As Object
) As Boolean
Parameters
- value
- Type: SystemString
The string data representation of the type. - result
- Type: SystemObject
When this method returns, contains the converted object instance.
Type Parameters
- T
- The target type.
Return Value
Type:
BooleanIf
true the
value can be converted to
the specified
T.
See Also