Click or drag to resize

LGSPObjectSetAttribute Method

Sets the attribute with the given attribute name to the given value. If the class type doesn't have an attribute with this name, a NullReferenceException is thrown.

Namespace: de.unika.ipd.grGen.lgsp
Assembly: lgspBackend (in lgspBackend.dll) Version: GrGen.NET 7.1
Syntax
C#
public 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