Click or drag to resize

XmlHelper.WriteValueAsStringToXml 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.7.0.0 (5.7.0)
Syntax
public static void WriteValueAsStringToXml(
	Type propertyType,
	Object value,
	bool verboseXml,
	bool writeTypeInfoIfNull,
	XmlWriter writer,
	bool datesInXmlDataType,
	bool mlInCDataBlocks
)

Parameters

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