HtmlAgilityPack.HtmlNode.IsCDataElement C# (CSharp) Method

IsCDataElement() public static method

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

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