This method will be used when deserializing the property from 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#
Object ReadPropertyXml(
	PropertySerializerContext context,
	XmlNode propertyValue
)
Visual Basic
Function ReadPropertyXml ( 
	context As PropertySerializerContext,
	propertyValue As XmlNode
) As Object

Parameters

context
Type: CodeSmith.Engine..::..PropertySerializerContext
Context information of the target property.
propertyValue
Type: System.Xml..::..XmlNode
The XML node to read the property value from.

Return Value

Type: Object
The value to be assigned to the template property.

See Also