SkipToEndElement()

XmlSchemaValidator::SkipToEndElement(const SharedPtr<XmlSchemaInfo>&) method

Skips validation of the current element content and prepares the XmlSchemaValidator object to validate content in the parent element’s context.

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

Arguments

ParameterTypeDescription
schemaInfoconst SharedPtr<XmlSchemaInfo>&An XmlSchemaInfo object whose properties are set if the current element content is successfully skipped. This parameter can be nullptr.

Exceptions

ExceptionDescription
InvalidOperationExceptionThe method was not called in the correct sequence. For example, calling XmlSchemaValidator::SkipToEndElement after calling XmlSchemaValidator::SkipToEndElement.

See Also