/// <summary> /// Checks whether the element has an attribute matching the specified name. /// </summary> /// <param name="Name">Name of the attribute to check for.</param> /// <returns>Value indicating whether the element has the specified attribute.</returns> public bool HasAttribute(string Name) { return(element.hasAttribute(Name) > 0); }