Opc.Ua.Com.Server.ComAe2Browser.Browse C# (CSharp) Method

Browse() public method

Browses the current branch.
public Browse ( bool isArea, string filter ) : IList
isArea bool
filter string
return IList
        public IList<string> Browse(bool isArea, string filter)
        {
            Session session = m_server.Session;

            if (session == null)
            {
                throw ComUtils.CreateComException(ResultIds.E_FAIL);
            }

            lock (m_lock)
            {
                // fetch the children.
                List<AeBrowseElement> children = Browse(session, m_position, filter, isArea);

                // create list of names.
                List<string> names = new List<string>(children.Count);

                for (int ii = 0; ii < children.Count; ii++)
                {
                    names.Add(children[ii].BrowseText);
                }

                return names;
            }
        }

Same methods

ComAe2Browser::Browse ( Session session, AeBrowseElement start, bool isArea ) : List
ComAe2Browser::Browse ( Session session, AeBrowseElement start, string pattern, bool isArea ) : List