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

Find() public method

Returns the state object for the specified node if it exists.
public Find ( Opc.Ua.NodeId nodeId ) : NodeState
nodeId Opc.Ua.NodeId
return NodeState
        public NodeState Find(NodeId nodeId)
        {
            lock (Lock)
            {
                if (PredefinedNodes == null)
                {
                    return null;
                }

                NodeState node = null;

                if (!PredefinedNodes.TryGetValue(nodeId, out node))
                {
                    return null;
                }

                return node;
            }
        }
CustomNodeManager2