Opc.Ua.ReferenceTypeState.GetAttributesToSave C# (CSharp) Method

GetAttributesToSave() public method

Returns a mask which indicates which attributes have non-default value.
public GetAttributesToSave ( ISystemContext context ) : AttributesToSave
context ISystemContext The context for the system being accessed.
return AttributesToSave
        public override AttributesToSave GetAttributesToSave(ISystemContext context)
        {
            AttributesToSave attributesToSave = base.GetAttributesToSave(context);

            if (!LocalizedText.IsNullOrEmpty(m_inverseName))
            {
                attributesToSave |= AttributesToSave.InverseName;
            }

            if (m_symmetric)
            {
                attributesToSave |= AttributesToSave.Symmetric;
            }

            return attributesToSave;
        }