Exemple #1
0
        public void MoveToLast(SPNavigationNodeCollectionInstance collection)
        {
            if (collection == null)
            {
                throw new JavaScriptException(this.Engine, "Error", "SPNavigationNodeCollection must be specified.");
            }

            m_navigationNode.MoveToLast(collection.SPNavigationNodeCollection);
        }
Exemple #2
0
        public void Move(SPNavigationNodeCollectionInstance collection, SPNavigationNodeInstance previousSibling)
        {
            if (collection == null)
            {
                throw new JavaScriptException(this.Engine, "Error", "SPNavigationNodeCollection must be specified.");
            }

            if (previousSibling == null)
            {
                throw new JavaScriptException(this.Engine, "Error", "previousSibling must be specified.");
            }

            m_navigationNode.Move(collection.SPNavigationNodeCollection, previousSibling.SPNavigationNode);
        }