Click or drag to resize

ByteArrayAttribute(UInt32, Int32, FuncAttributeValue, String) Constructor

Constructs a new byte array attribute.

Namespace: Demo3D.PLC.Comms.AttrDb
Assembly: PLC (in PLC.dll) Version: 19.00.00
Syntax
C#
public ByteArrayAttribute(
	uint attributeId,
	int maxBytes = 0,
	Func<AttributeValue, string?>? toStringFunc = null
)

Parameters

attributeId  UInt32
Attribute id.
maxBytes  Int32  (Optional)
Maximum number of bytes (or 0 if not known).
toStringFunc  FuncAttributeValue, String  (Optional)
Function for printing the content of the value (or null).
See Also