Opc.Ua.MethodState.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.Executable) != 0)
            {
                encoder.WriteBoolean(null, m_executable);
            }

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

Same methods

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