Click or drag to resize

XmlHelperPropertyValueToString Method

Converts the value of the property passed in to a string

Namespace:  SD.LLBLGen.Pro.ORMSupportClasses
Assembly:  SD.LLBLGen.Pro.ORMSupportClasses (in SD.LLBLGen.Pro.ORMSupportClasses.dll) Version: 5.10.0.0 (5.10.0)
Syntax
public static string PropertyValueToString(
	bool datesInXmlDataType,
	bool mlInCDataBlocks,
	Object propertyValue,
	Type propertyType,
	out bool valueInCDataBlock
)

Parameters

datesInXmlDataType
Type: SystemBoolean
xml aspect
mlInCDataBlocks
Type: SystemBoolean
xml aspect
propertyValue
Type: SystemObject
The property value.
propertyType
Type: SystemType
Type of the property.
valueInCDataBlock
Type: SystemBoolean
flag which will be true if the returned string should be wrapped in a CData block

Return Value

Type: String
the property value in string form, ready to use in the XML
See Also