Sets the template attribute. Template attributes can be used to store various information at the template level.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public virtual void SetTemplateAttribute( string attributeName, string attributeValue ) |
Visual Basic |
---|
Public Overridable Sub SetTemplateAttribute ( attributeName As String, attributeValue As String ) |
Parameters
- attributeName
- Type: System..::..String
Name of the attribute.
- attributeValue
- Type: System..::..String
The attribute value.