Click or drag to resize
XmlHelperXmlValueToObject Method (Type, String)
Converts the passed in value to the type specified. The realtype has to be a known type in .NET, and currently can only be a simple type, or it has to implement an explicit conversion operator which converts a string to the real object. The value is returned as 'object'.

Namespace: SD.LLBLGen.Pro.ORMSupportClasses
Assembly: SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.0.0.0 (5.0.0)
Syntax
public static Object XmlValueToObject(
	Type realType,
	string xmlValue
)

Parameters

realType
Type: SystemType
The type the value should be converted in.
xmlValue
Type: SystemString
value of the xml node which should be converted into an object.

Return Value

Type: Object
the value converted into its native type.
See Also