## XmlSchema::Read(const SharedPtr\<IO::Stream\>\&, ValidationEventHandler) method


يقرأ XML [Schema](../../) من التدفق المقدم.

```cpp
static SharedPtr<XmlSchema> System::Xml::Schema::XmlSchema::Read(const SharedPtr<IO::Stream> &stream, ValidationEventHandler validationEventHandler)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| دفق | const SharedPtr\<IO::Stream\>\& | تدفق البيانات المقدم. |
| validationEventHandler | ValidationEventHandler | معالج حدث التحقق الذي يتلقى معلومات حول أخطاء بناء جملة XML [Schema](../../). |

### ReturnValue

الكائن [XmlSchema](../) الذي يمثل XML [Schema](../../).

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchema](../)
* Class [Stream](../../../system.io/stream/)
* Typedef [ValidationEventHandler](../../validationeventhandler/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Page for C++](../../../)
## XmlSchema::Read(const SharedPtr\<IO::TextReader\>\&, ValidationEventHandler) method


يقرأ XML [Schema](../../) من [IO::TextReader](../../../system.io/textreader/) المزود.

```cpp
static SharedPtr<XmlSchema> System::Xml::Schema::XmlSchema::Read(const SharedPtr<IO::TextReader> &reader, ValidationEventHandler validationEventHandler)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| reader | const SharedPtr\<IO::TextReader\>\& | [IO::TextReader](../../../system.io/textreader/) الذي يحتوي على XML [Schema](../../) للقراءة. |
| validationEventHandler | ValidationEventHandler | معالج حدث التحقق الذي يتلقى معلومات حول أخطاء بناء جملة XML [Schema](../../). |

### ReturnValue

الكائن [XmlSchema](../) الذي يمثل XML [Schema](../../).

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchema](../)
* Class [TextReader](../../../system.io/textreader/)
* Typedef [ValidationEventHandler](../../validationeventhandler/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Page for C++](../../../)
## XmlSchema::Read(const SharedPtr\<XmlReader\>\&, ValidationEventHandler) method


يقرأ XML [Schema](../../) من [XmlReader](../../../system.xml/xmlreader/) المزوَّد.

```cpp
static SharedPtr<XmlSchema> System::Xml::Schema::XmlSchema::Read(const SharedPtr<XmlReader> &reader, ValidationEventHandler validationEventHandler)
```


| Parameter | Type | الوصف |
| --- | --- | --- |
| reader | const SharedPtr\<XmlReader\>\& | [XmlReader](../../../system.xml/xmlreader/) الذي يحتوي على XML [Schema](../../) للقراءة. |
| validationEventHandler | ValidationEventHandler | معالج حدث التحقق الذي يتلقى معلومات حول أخطاء بناء جملة XML [Schema](../../). |

### ReturnValue

الكائن [XmlSchema](../) الذي يمثل XML [Schema](../../).

## انظر أيضًا

* Typedef [SharedPtr](../../../system/sharedptr/)
* Class [XmlSchema](../)
* Class [XmlReader](../../../system.xml/xmlreader/)
* Typedef [ValidationEventHandler](../../validationeventhandler/)
* Class [XmlSchema](../)
* Namespace [System::Xml::Schema](../../)
* Library [Aspose.Page for C++](../../../)
