Opc.Ua.ViewNode.Write C# (CSharp) Method

Write() protected method

Writes the value of an attribute.
protected Write ( uint attributeId, object value ) : ServiceResult
attributeId uint The attribute identifier.
value object The value.
return ServiceResult
        protected override ServiceResult Write(uint attributeId, object value)
        {
            switch (attributeId)
            {
                case Attributes.EventNotifier:   { m_eventNotifier   = (byte)value; return ServiceResult.Good; }
                case Attributes.ContainsNoLoops: { m_containsNoLoops = (bool)value; return ServiceResult.Good; }
            }

            return base.Write(attributeId, value);
        }
        #endregion