IsNamed() 공개 메소드

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

            TableElement = element;
        }