 | LGSPTransientObjectSetAttribute Method |
Sets the attribute with the given attribute name to the given value.
If the transient class type doesn't have an attribute with this name, a NullReferenceException is thrown.
Namespace: de.unika.ipd.grGen.lgspAssembly: lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.1
Syntaxpublic abstract void SetAttribute(
string attrName,
Object value
)
Parameters
- attrName String
- The name of the attribute.
- value Object
- The new value for the attribute. It must have the correct type.
Otherwise a TargetException is thrown.
Implements
IAttributeBearerSetAttribute(String, Object)
See Also