- name
- The value to be parsed.
Visual Basic (Usage) | Copy Code |
---|---|
Dim name As String Dim value As Boolean value = Enum(Of T).TryParse(name) |
Parameters
- name
- The value to be parsed.
Return Value
True if the value can be converted to the specified type.Target Platforms: Microsoft .NET Framework 2.0, Windows 2000, Windows XP, Windows Server 2003 family, Windows Server 2008 family, Windows Vista, Windows 7