This method will be used to save the property value when a template is being compiled.

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

Syntax

C#
Object SaveProperty(
	PropertySerializerContext context,
	Object propertyValue
)
Visual Basic
Function SaveProperty ( 
	context As PropertySerializerContext,
	propertyValue As Object
) As Object

Parameters

context
Type: CodeSmith.Engine..::..PropertySerializerContext
Context information of the target property.
propertyValue
Type: System..::..Object
The property to be saved.

Return Value

Type: Object
An object that will be stored in a Hashtable during template compilation.

See Also