Gets 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 string GetTemplateAttribute( string attributeName ) |
Visual Basic |
---|
Public Overridable Function GetTemplateAttribute ( attributeName As String ) As String |
Parameters
- attributeName
- Type: System..::..String
Name of the attribute.
Return Value
Type: StringThe value of the attribute