Opc.Ua.Node.SupportsAttribute C# (CSharp) Method

SupportsAttribute() public method

Returns true if the node supports the attribute.
public SupportsAttribute ( uint attributeId ) : bool
attributeId uint The attribute id.
return bool
        public virtual bool SupportsAttribute(uint attributeId)
        {
            switch (attributeId)
            {
                case Attributes.NodeId:
                case Attributes.NodeClass:
                case Attributes.BrowseName:
                case Attributes.DisplayName:
                case Attributes.Description:
                case Attributes.WriteMask:
                case Attributes.UserWriteMask:
                {
                    return true;
                }
            }

            return false;
        }