Click or drag to resize

LGSPEdgeSetAttribute Method

Sets the graph element attribute with the given attribute name to the given value. If the graph element 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.2
Syntax
C#
public abstract void SetAttribute(
	string attrName,
	Object value
)

Parameters

attrName
Type: SystemString
The name of the attribute.
value
Type: SystemObject
The new value for the attribute. It must have the correct type. Otherwise a TargetException is thrown.

Implements

IAttributeBearerSetAttribute(String, Object)
See Also