Opc.Ua.Com.Server.ComAe2Subscription.GetSelectedAttributes C# (CSharp) 메소드

GetSelectedAttributes() 공개 메소드

Returns the currently selected attributes.
public GetSelectedAttributes ( uint categoryId ) : uint[]
categoryId uint
리턴 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;
            }
        }