طريقة System::Xml::Schema::XmlSchemaValidator::ValidateElement

XmlSchemaValidator::ValidateElement(const String&, const String&, const SharedPtr<XmlSchemaInfo>&) method

يتحقق من العنصر في السياق الحالي.

void System::Xml::Schema::XmlSchemaValidator::ValidateElement(const String &localName, const String &namespaceUri, const SharedPtr<XmlSchemaInfo> &schemaInfo)
ParameterTypeالوصف
localNameconst String&الاسم المحلي للعنصر المراد التحقق منه.
namespaceUriconst String&معرف URI للمساحة الاسمية للعنصر المراد التحقق منه.
schemaInfoconst SharedPtr<XmlSchemaInfo>&كائن XmlSchemaInfo تُضبط خصائصه عند نجاح التحقق من اسم العنصر. يمكن أن تكون هذه المعلمة nullptr.

انظر أيضًا

XmlSchemaValidator::ValidateElement(const String&, const String&, const SharedPtr<XmlSchemaInfo>&, const String&, const String&, const String&, const String&) method

يتحقق من العنصر في السياق الحالي مع قيم السمات xsi:Type و xsi:Nil و xsi:SchemaLocation و xsi:NoNamespaceSchemaLocation المحددة.

void System::Xml::Schema::XmlSchemaValidator::ValidateElement(const String &localName, const String &namespaceUri, const SharedPtr<XmlSchemaInfo> &schemaInfo, const String &xsiType, const String &xsiNil, const String &xsiSchemaLocation, const String &xsiNoNamespaceSchemaLocation)
ParameterTypeالوصف
localNameconst String&الاسم المحلي للعنصر المراد التحقق منه.
namespaceUriconst String&معرف URI للمساحة الاسمية للعنصر المراد التحقق منه.
schemaInfoconst SharedPtr<XmlSchemaInfo>&كائن XmlSchemaInfo تُضبط خصائصه عند نجاح التحقق من اسم العنصر. يمكن أن تكون هذه المعلمة nullptr.
xsiTypeconst String&قيمة الخاصية xsi:Type للعنصر. يمكن أن تكون هذه المعلمة nullptr.
xsiNilconst String&قيمة الخاصية xsi:Nil للعنصر. يمكن أن تكون هذه المعلمة nullptr.
xsiSchemaLocationconst String&قيمة الخاصية xsi:SchemaLocation للعنصر. يمكن أن تكون هذه المعلمة nullptr.
xsiNoNamespaceSchemaLocationconst String&قيمة الخاصية xsi:NoNamespaceSchemaLocation للعنصر. يمكن أن تكون هذه المعلمة nullptr.

انظر أيضًا