ComponentOne CalendarView for WinForms
Parse Method

C1.Win.C1Input Namespace > ParseInfo Class : Parse Method
The string to parse.
Type to which the string is converted.
Conversion result.
Object detailing error information, if an error occurred.
Converts text to the specified data type.
Syntax
'Declaration
 
Public Function Parse( _
   ByVal text As String, _
   ByVal destinationType As Type, _
   ByRef result As Object, _
   ByVal errorInfo As ErrorInfo _
) As Boolean
public bool Parse( 
   string text,
   Type destinationType,
   out object result,
   ErrorInfo errorInfo
)

Parameters

text
The string to parse.
destinationType
Type to which the string is converted.
result
Conversion result.
errorInfo
Object detailing error information, if an error occurred.
See Also

Reference

ParseInfo Class
ParseInfo Members