public bool Contains(string objectName) { if (string.IsNullOrEmpty(objectName)) throw new ArgumentException("objectName is null or empty.", "objectName"); return (FindObjectNameNode(objectName, this._Xml) != null); }