SkipElement method
Implementation
void SkipElement(String namespacePrefix, String localName) {
if (!this.IsEndElement(namespacePrefix, localName)) {
if (!this.IsStartElementWithPrefix(namespacePrefix, localName)) {
this.ReadStartElement(namespacePrefix, localName);
}
if (!this.IsEmptyElement) {
do {
this.Read();
} while (!this.IsEndElement(namespacePrefix, localName));
}
}
}