Click or drag to resize

XmlHelperWriteValueAsStringToXml Method

Writes the value as string to XML.

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 void WriteValueAsStringToXml(
	Type propertyType,
	Object value,
	bool verboseXml,
	bool writeTypeInfoIfNull,
	XmlWriter writer,
	bool datesInXmlDataType,
	bool mlInCDataBlocks
)

Parameters

propertyType
Type: SystemType
Type of the property the value is read from.
value
Type: SystemObject
The value read from the property.
verboseXml
Type: SystemBoolean
flag if verbose XML has to be emitted
writeTypeInfoIfNull
Type: SystemBoolean
true if the type info should be written into the element if the value is null
writer
Type: System.XmlXmlWriter
The writer to write the output to.
datesInXmlDataType
Type: SystemBoolean
xmlaspect
mlInCDataBlocks
Type: SystemBoolean
xmlaspect
Remarks
The writer should have written a StartElement right before this method is called.
See Also