Themes for WinForms | ComponentOne
C1.Win.C1Themes.4.8 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).

In This Topic
    Parse Method (C1ThemeVersion)
    In This Topic
    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