Gets the property attribute. Property attributes can be used to store various information at the property level.
Namespace: CodeSmith.EngineAssembly: CodeSmith.Engine (in CodeSmith.Engine.dll) Version: 6.0.0.0 (7.0.0.15127)
Syntax
C# |
---|
public virtual string GetPropertyAttribute( string propertyName, string attributeName ) |
Visual Basic |
---|
Public Overridable Function GetPropertyAttribute ( propertyName As String, attributeName As String ) As String |
Parameters
- propertyName
- Type: System..::..String
Name of the property.
- attributeName
- Type: System..::..String
Name of the attribute.
Return Value
Type: StringThe value of the attribute