Visual Basic (Declaration) | |
---|---|
Public Shared Function TryParse( _ ByVal s As String, _ ByRef error As CalcError _ ) As Boolean |
Visual Basic (Usage) | Copy Code |
---|---|
Dim s As String Dim error As CalcError Dim value As Boolean value = CalcError.TryParse(s, error) |
Parameters
- s
- String to be parsed
- error
- Error represented by the string
Return Value
true if tried; false otherwiseTarget Platforms: Windows 7, Windows 8, Windows Vista, Windows Server 2000, Windows 2000 Professional, Windows XP Professional, Windows NT 4.0 Workstation, SP6, Windows NT 4.0 Server, SP6