Opc.Ua.BaseObjectState.Save C# (CSharp) Method

Save() public method

Saves the attributes from the stream.
public Save ( ISystemContext context, XmlEncoder encoder ) : void
context ISystemContext The context for the system being accessed.
encoder XmlEncoder The encoder wrapping the stream to write.
return void
        public override void Save(ISystemContext context, XmlEncoder encoder)
        {
            base.Save(context, encoder);

            encoder.PushNamespace(Namespaces.OpcUaXsd);

            if (m_eventNotifier != 0)
            {
                encoder.WriteByte("EventNotifier", m_eventNotifier);
            }

            encoder.PopNamespace();
        }

Same methods

BaseObjectState::Save ( ISystemContext context, BinaryEncoder encoder, AttributesToSave attributesToSave ) : void