Opc.Ua.Server.CustomNodeManager2.SetNamespaces C# (CSharp) Method

SetNamespaces() protected method

Sets the namespaces supported by the NodeManager.
protected SetNamespaces ( ) : void
return void
        protected void SetNamespaces(params string[] namespaceUris)
        {
            // create the table of namespaces that are used by the NodeManager.
            m_namespaceUris = namespaceUris;

            // add the uris to the server's namespace table and cache the indexes.
            m_namespaceIndexes = new ushort[m_namespaceUris.Length];

            for (int ii = 0; ii < m_namespaceUris.Length; ii++)
            {
                m_namespaceIndexes[ii] = m_server.NamespaceUris.GetIndexOrAppend(m_namespaceUris[ii]);
            }
        }
CustomNodeManager2