Opc.Ua.Com.Server.ComDaProxy.BrowseForNames C# (CSharp) Method

BrowseForNames() public method

Browses the current branch.
public BrowseForNames ( bool isBranch, string filter, short dataTypeFilter, int accessRightsFilter ) : IList
isBranch bool if set to true the return branches.
filter string The filter.
dataTypeFilter short The data type filter.
accessRightsFilter int The access rights filter.
return IList
        public IList<string> BrowseForNames(bool isBranch, string filter, short dataTypeFilter, int accessRightsFilter)
        {
            Session session = Session;

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

            return m_browseManager.BrowseForNames(
                session, 
                (isBranch)?BrowseElementFilter.Branch:BrowseElementFilter.Item,
                filter, 
                dataTypeFilter, 
                accessRightsFilter);
        }