HtmlAgilityPack.HtmlNode.IsClosedElement C# (CSharp) Method

IsClosedElement() public static method

Determines if an element node is closed.
public static IsClosedElement ( string name ) : bool
name string The name of the element node to check. May not be null.
return bool
		public static bool IsClosedElement(string name)
		{
			if (name == null)
			{
				throw new ArgumentNullException("name");
			}

			object flag = ElementsFlags[name.ToLower()];
			if (flag == null)
			{
				return false;
			}
			return (((HtmlElementFlag)flag)&HtmlElementFlag.Closed) != 0;
		}