IsNamed() public method

Determines if the Element has a name like the parameter
public IsNamed ( string name ) : bool
name string
return bool
Ejemplo n.º 1
0
        public Table(Element element)
        {
            if (!element.IsNamed("table"))
            {
                throw new ArgumentException("This strategy can only work on table elements", "element");
            }

            TableElement = element;
        }