Opc.Ua.ReferenceTypeState.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("InverseName"))
            {
                InverseName = decoder.ReadLocalizedText("InverseName");
            }

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

            decoder.PopNamespace();
        }

Same methods

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