Initialize()
Contents
[
Hide
]XmlSchemaValidator::Initialize() method
Initializes the state of the XmlSchemaValidator object.
void System::Xml::Schema::XmlSchemaValidator::Initialize()
Exceptions
| Exception | Description |
|---|---|
| InvalidOperationException | Calling the XmlSchemaValidator::Initialize method is valid immediately after the construction of an XmlSchemaValidator object or after a call to XmlSchemaValidator::EndValidation only. |
XmlSchemaValidator::Initialize(const SharedPtr<XmlSchemaObject>&) method
Initializes the state of the XmlSchemaValidator object using the XmlSchemaObject specified for partial validation.
void System::Xml::Schema::XmlSchemaValidator::Initialize(const SharedPtr<XmlSchemaObject> &partialValidationType)
Arguments
| Parameter | Type | Description |
|---|---|---|
| partialValidationType | const SharedPtr<XmlSchemaObject>& | An XmlSchemaElement, XmlSchemaAttribute, or XmlSchemaType object used to initialize the validation context of the XmlSchemaValidator object for partial validation. |
Exceptions
| Exception | Description |
|---|---|
| InvalidOperationException | Calling the XmlSchemaValidator::Initialize method is valid immediately after the construction of an XmlSchemaValidator object or after a call to XmlSchemaValidator::EndValidation only. |
| ArgumentException | The XmlSchemaObject parameter is not an XmlSchemaElement, XmlSchemaAttribute, or XmlSchemaType object. |
| ArgumentNullException | The XmlSchemaObject parameter cannot be nullptr. |
See Also
- Typedef SharedPtr
- Class XmlSchemaValidator
- Class XmlSchemaObject
- Namespace System::Xml::Schema
- Library Aspose.Slides