ComponentOne Themes for WinForms
Parse Method

C1.Win.C1Themes.4 Assembly > C1.Win.C1Themes Namespace > C1ThemeVersion Class : Parse Method
The string to convert.
Indicates whether an exception should be thrown if the specified string cannot be converted.
The default version (used if the version could not be parsed, and throwException is false).
Converts a string to a C1ThemeVersion object.
Syntax
'Declaration
 
Public Shared Function Parse( _
   ByVal s As System.String, _
   ByVal throwException As System.Boolean, _
   ByVal defaultValue As C1ThemeVersion _
) As C1ThemeVersion
public static C1ThemeVersion Parse( 
   System.string s,
   System.bool throwException,
   C1ThemeVersion defaultValue
)

Parameters

s
The string to convert.
throwException
Indicates whether an exception should be thrown if the specified string cannot be converted.
defaultValue
The default version (used if the version could not be parsed, and throwException is false).

Return Value

The newly created instance of C1ThemeVersion type, or null.
See Also

Reference

C1ThemeVersion Class
C1ThemeVersion Members