TreeView for WinForms | ComponentOne
C1.Win.Interop Namespace / Rect Structure / Parse Method
The string to convert.
OUT: the created Rect structure.
Indicates whether an exception should be thrown if the string cannot be converted.

In This Topic
    Parse Method (Rect)
    In This Topic
    Converts a string to a Rect structure.
    Syntax
    'Declaration
     
    
    Public Shared Function Parse( _
       ByVal s As String, _
       ByRef result As Rect, _
       ByVal throwException As Boolean _
    ) As Boolean
    public static bool Parse( 
       string s,
       out Rect result,
       bool throwException
    )

    Parameters

    s
    The string to convert.
    result
    OUT: the created Rect structure.
    throwException
    Indicates whether an exception should be thrown if the string cannot be converted.

    Return Value

    true if no error occurred, false otherwise (if throwException is false).
    See Also