## XmlSchemaValidator::SkipToEndElement method


Skips validation of the current element content and prepares the [XmlSchemaValidator](../) object to validate content in the parent element's context.

```cpp
void System::Xml::Schema::XmlSchemaValidator::SkipToEndElement(const SharedPtr<XmlSchemaInfo> &schemaInfo)
```


| Parameter | Type | Description |
| --- | --- | --- |
| schemaInfo | const SharedPtr\<XmlSchemaInfo\>\& | An [XmlSchemaInfo](../../xmlschemainfo/) object whose properties are set if the current element content is successfully skipped. This parameter can be **nullptr**. |

## See Also

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchemaInfo](../../xmlschemainfo/)
* Class [XmlSchemaValidator](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.PUB for C++](../../../)
