IsNamed() public method

Determines if the Element has a name like the parameter
public IsNamed ( string name ) : bool
name string
return bool
Esempio 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;
        }