Click or drag to resize

IAttributeDatabaseGetOrAddAttributeValue Method

Finds or creates the value for a specified attribute.

Namespace:  Demo3D.PLC.Comms.AttrDb
Assembly:  PLC (in PLC.dll) Version: 14.0.0.10531
Syntax
C#
AttributeValue GetOrAddAttributeValue(
	ushort attributeId,
	DataSelect dimensions
)

Parameters

attributeId
Type: SystemUInt16
The attribute id.
dimensions
Type: Demo3D.PLC.Comms.AttrDbDataSelect
The dimensions of the value if it needs to be created.

Return Value

Type: AttributeValue
The attribute value.
See Also