System.Xml.Schema.ActiveAxis.MoveToAttribute C# (CSharp) Méthode

MoveToAttribute() public méthode

public MoveToAttribute ( string localname, string URN ) : bool
localname string
URN string
Résultat bool
        public bool MoveToAttribute (string localname, string URN) {
            if (! this.isActive) {
                return false;
            }
            bool result = false;
            foreach (AxisStack stack in this.axisStack) {
                if (stack.MoveToAttribute (localname, URN, this.currentDepth + 1)) {  // don't change depth for attribute, but depth is add 1 
                    result = true;
                }
            }
            return result;
        }
    }