Opc.Ua.Com.Server.ComAe2Subscription.GetSelectedAttributes C# (CSharp) Method

GetSelectedAttributes() public method

Returns the currently selected attributes.
public GetSelectedAttributes ( uint categoryId ) : uint[]
categoryId uint
return uint[]
        public uint[] GetSelectedAttributes(uint categoryId)
        {
            ThrowIfDisposed();

            lock (m_lock)
            {
                if (m_mapper.GetCategory(categoryId) == null)
                {
                    throw ComUtils.CreateComException(ResultIds.E_INVALIDARG);
                }
                
                uint[] attributeIds = null;

                if (m_filter.RequestedAttributeIds != null)
                {
                    m_filter.RequestedAttributeIds.TryGetValue(categoryId, out attributeIds);
                }

                return attributeIds;
            }
        }