Click or drag to resize

StandardOrdinaryTypesProtoParseFromString Method

Makes a value from the string representation.

Namespace:  KSPDev.ConfigUtils
Assembly:  KSPDev_Utils.2.5 (in KSPDev_Utils.2.5.dll) Version: 2.5 for KSP v1
Syntax
C#
public override 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