Class Attribute
Attributes can be used to associate arbitrary data with a node or a NetworkModel (i.e., a Class or a Domain).
Inherited Members
Namespace: HAPI
Assembly: hugincs-9.7-netstandard2.0-x64.dll
Syntax
public class Attribute
Remarks
Attributes are set using the SetAttribute(string, string) and
SetAttribute(string, string) methods on the NetworkModel and Node classes.
Each data object must be a string and attributes are read-only
objects. Thus, in order to change the value of a data object
or to add a new data object, the setAttribute method must be
used. An attribute associated with a NetworkModel or a Node is
removed by setting the value to null using SetAttribute.
Methods
GetKey()
Returns the key associated with this Attribute.
Declaration
public string GetKey()
Returns
| Type | Description |
|---|---|
| string |
GetValue()
Returns the value associated with this Attribute.
Declaration
public string GetValue()
Returns
| Type | Description |
|---|---|
| string |