Click or drag to resize

ByteArrayAttribute Constructor (UInt32, Int32, FuncAttributeValue, String)

Constructs a new byte array attribute.

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

Parameters

attributeId
Type: SystemUInt32
Attribute id.
maxBytes (Optional)
Type: SystemInt32
Maximum number of bytes (or 0 if not known).
toStringFunc (Optional)
Type: SystemFuncAttributeValue, String
Function for printing the content of the value (or null).
See Also