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