Opc.Ua.BaseTypeState.Save C# (CSharp) 메소드

Save() 공개 메소드

Saves object in an binary stream.
public Save ( ISystemContext context, BinaryEncoder encoder, AttributesToSave attributesToSave ) : void
context ISystemContext The context user.
encoder BinaryEncoder The encoder to write to.
attributesToSave AttributesToSave The masks indicating what attributes to write.
리턴 void
        public override void Save(ISystemContext context, BinaryEncoder encoder, AttributesToSave attributesToSave)
        {
            base.Save(context, encoder, attributesToSave);

            if ((attributesToSave & AttributesToSave.SuperTypeId) != 0)
            {
                encoder.WriteNodeId(null, m_superTypeId);
            }

            if ((attributesToSave & AttributesToSave.IsAbstract) != 0)
            {
                encoder.WriteBoolean(null, m_isAbstract);
            }
        }

Same methods

BaseTypeState::Save ( ISystemContext context, XmlEncoder encoder ) : void