Sets the value for the specified property.

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

Syntax

C#
public void SetProperty(
	PropertyInfo propertyInfo,
	Object value
)
Visual Basic
Public Sub SetProperty ( 
	propertyInfo As PropertyInfo,
	value As Object
)

Parameters

propertyInfo
Type: System.Reflection..::..PropertyInfo
Information about the target property.
value
Type: System..::..Object
Value to assign.

See Also