Opc.Ua.BaseTypeState.Update C# (CSharp) Method

Update() public method

Updates the attributes from the stream.
public Update ( ISystemContext context, XmlDecoder decoder ) : void
context ISystemContext The context for the system being accessed.
decoder XmlDecoder The decoder wrapping the stream to read.
return void
        public override void Update(ISystemContext context, XmlDecoder decoder)
        {
            base.Update(context, decoder);

            decoder.PushNamespace(Namespaces.OpcUaXsd);

            if (decoder.Peek("SuperTypeId"))
            {
                SuperTypeId = decoder.ReadNodeId("SuperTypeId");
            }

            if (decoder.Peek("IsAbstract"))
            {
                IsAbstract = decoder.ReadBoolean("IsAbstract");
            }

            decoder.PopNamespace();
        }

Same methods

BaseTypeState::Update ( ISystemContext context, BinaryDecoder decoder, AttributesToSave attibutesToLoad ) : void