Method Contains
Contains(string)
Tests whether the document contains an element with the specified name.
public virtual bool Contains(string name)
Parameters
name
stringThe name of the element to look for.
Returns
- bool
True if the document contains an element with the specified name.