Click or drag to resize

AbstractOrdinaryValueTypeProtoParseFromString Method

Makes a value from the string representation.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.1.2 (in KSPDev_Utils.1.2.dll) Version: 1.2 for KSP v1.6+
Syntax
C#
public abstract Object ParseFromString(
	string value,
	Type type
)
Request Example View Source

Parameters

value
Type: SystemString
A string produced by SerializeToString(Object).
type
Type: SystemType
A type to convert the value into.

Return Value

Type: Object
A new and initialized instance of the requested type.
Exceptions
ExceptionCondition
ArgumentExceptionIf value cannot be parsed.
See Also