[]
        
(Showing Draft Content)

C1.C1Preview.LineDef.Parse

Parse Method

Parse(string, bool)

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

Declaration
public static LineDef Parse(string s, bool throwOnError)
Parameters
Type Name Description
string s

A string representing a LineDef (see ToString()).

bool throwOnError

If true, an exception is thrown if an error occurs while parsing; otherwise, errors are ignored.

Returns
Type Description
LineDef

The new LineDef object.

Parse(string, bool, ITypeDescriptorContext)

For internal use only.

Declaration
public static LineDef Parse(string s, bool throwOnError, ITypeDescriptorContext context)
Parameters
Type Name Description
string s
bool throwOnError
ITypeDescriptorContext context
Returns
Type Description
LineDef