TypeConverter.TryParse(String, Type) Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Parses the provided type string.
public bool TryParse (string formatted, out Type result);
member this.TryParse : string * Type -> bool
Public Function TryParse (formatted As String, ByRef result As Type) As Boolean
Parameters
- formatted
- String
The formatted type name.
- result
- Type
The result.
Returns
true
if the type was parsed and loaded; otherwise false
.