Click or drag to resize

AttributeValueSetValue Method (MessageContextBase, IPacketWriter, IPacketReader, DataSelect, Boolean)

Protocol access to the attribute value. Honours Settable and IgnoreSet.

Namespace:  Demo3D.PLC.Comms.AttrDb
Assembly:  PLC (in PLC.dll) Version: 15.0.2.11458
Syntax
C#
public abstract bool SetValue(
	MessageContextBase? context,
	IPacketWriter? responseData,
	IPacketReader requestData,
	DataSelect? dataSelect,
	bool notify
)

Parameters

context
Type: Demo3D.PLC.CommsMessageContextBase
Optional information about the request.
responseData
Type: Demo3D.IOIPacketWriter
The packet to place the response (if any), or null if no response is allowed.
requestData
Type: Demo3D.IOIPacketReader
The packet to get the value from.
dataSelect
Type: Demo3D.PLC.Comms.AttrDbDataSelect
The selection of data to set (or null for the entire value).
notify
Type: SystemBoolean
True to raise OnAttributeValueSet

Return Value

Type: Boolean

[Missing <returns> documentation for "M:Demo3D.PLC.Comms.AttrDb.AttributeValue.SetValue(Demo3D.PLC.Comms.MessageContextBase,Demo3D.IO.IPacketWriter,Demo3D.IO.IPacketReader,Demo3D.PLC.Comms.AttrDb.DataSelect,System.Boolean)"]

Remarks
dataSelect is only honoured for dynamic attributes. For static or computed attributes, it must either be null or describe the entire attribute.
See Also