System.Xml.Schema.ActiveAxis.EndElement C# (CSharp) Method

EndElement() public method

public EndElement ( string localname, string URN ) : bool
localname string
URN string
return bool
        public virtual bool EndElement (string localname, string URN) {
            // need to think if the early quitting will affect reactivating....
            if (this.currentDepth ==  0) {          // leave context node
                this.isActive = false;
                this.currentDepth --;
            }
            if (! this.isActive) {
                return false;
            }
            foreach (AxisStack stack in this.axisStack) {
                stack.MoveToParent (localname, URN, this.currentDepth);
            }
            this.currentDepth -- ;
            return false;
        }