Creates a LineDef object, and initialises it with values acquired by parsing a string representation of a LineDef.

Namespace:  C1.C1Preview
Assembly:  C1.C1Report.2 (in C1.C1Report.2.dll)

Syntax

C#
public static LineDef Parse(
	string s,
	bool throwOnError
)
Visual Basic
Public Shared Function Parse ( _
	s As String, _
	throwOnError As Boolean _
) As LineDef

Parameters

s
Type: System..::..String
A string representing a LineDef (see ToString()()()()).
throwOnError
Type: System..::..Boolean
If true, an exception is thrown if an error occurs while parsing; otherwise, errors are ignored.

Return Value

The new LineDef object.

See Also