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.12.0.0 (5.12.0)
Syntaxpublic static void WriteValueAsStringToXml(
	Type propertyType,
	Object value,
	bool verboseXml,
	bool writeTypeInfoIfNull,
	XmlWriter writer,
	bool datesInXmlDataType,
	bool mlInCDataBlocks
)
Public Shared Sub WriteValueAsStringToXml ( 
	propertyType As Type,
	value As Object,
	verboseXml As Boolean,
	writeTypeInfoIfNull As Boolean,
	writer As XmlWriter,
	datesInXmlDataType As Boolean,
	mlInCDataBlocks As Boolean
)
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 
RemarksThe writer should have written a StartElement right before this method is called.
See Also