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.4.0.0 (5.4.0)
Syntax public static string PropertyValueToString(
bool datesInXmlDataType,
bool mlInCDataBlocks,
Object propertyValue,
Type propertyType,
out bool valueInCDataBlock
)
Public Shared Function PropertyValueToString (
datesInXmlDataType As Boolean,
mlInCDataBlocks As Boolean,
propertyValue As Object,
propertyType As Type,
<OutAttribute> ByRef valueInCDataBlock As Boolean
) As String
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