XmlHelperXmlValueToObject Method (String, String) |
Converts the passed in value to the type with the name typeName. The typeName 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.6.0.0 (5.6.19.0117)
Syntax public static Object XmlValueToObject(
string typeName,
string xmlValue
)
Public Shared Function XmlValueToObject (
typeName As String,
xmlValue As String
) As Object
Parameters
- typeName
- Type: SystemString
name of 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:
Objectthe value converted into its native type.
See Also