[]
Creates a LineDef object, and initialises it with values acquired by parsing a string representation of a LineDef.
public static LineDef Parse(string s, bool throwOnError)
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. |
Type | Description |
---|---|
LineDef | The new LineDef object. |
For internal use only.
public static LineDef Parse(string s, bool throwOnError, ITypeDescriptorContext context)
Type | Name | Description |
---|---|---|
string | s | |
bool | throwOnError | |
ITypeDescriptorContext | context |
Type | Description |
---|---|
LineDef |