This method will be used when serializing the property value to an XML property set.

Namespace: CodeSmith.Engine
Assembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)

Syntax

C#
void WritePropertyXml(
	PropertySerializerContext context,
	XmlWriter writer,
	Object propertyValue
)
Visual Basic
Sub WritePropertyXml ( 
	context As PropertySerializerContext,
	writer As XmlWriter,
	propertyValue As Object
)

Parameters

context
Type: CodeSmith.Engine..::..PropertySerializerContext
Context information of the target property.
writer
Type: System.Xml..::..XmlWriter
The XML writer that the property value will be written to.
propertyValue
Type: System..::..Object
The property to be serialized.

See Also