System::Xml::Schema::XmlSchemaSet::Contains 方法
XmlSchemaSet::Contains(const SharedPtr<XmlSchema>&) method
指示指定的 XML Schema 定义语言 (XSD) XmlSchema 对象是否在 XmlSchemaSet 中。
bool System::Xml::Schema::XmlSchemaSet::Contains(const SharedPtr<XmlSchema> &schema)
| Parameter | Type | 描述 |
|---|---|---|
| schema | const SharedPtr<XmlSchema>& | XmlSchema 对象。 |
ReturnValue
true if the XmlSchema object is in the XmlSchemaSet; otherwise, false.
另见
- Typedef SharedPtr
- Class XmlSchema
- Class XmlSchemaSet
- Namespace System::Xml::Schema
- Library Aspose.Page for C++
XmlSchemaSet::Contains(String) method
指示具有指定目标命名空间 URI 的 XML Schema 定义语言 (XSD) 架构是否在 XmlSchemaSet 中。
bool System::Xml::Schema::XmlSchemaSet::Contains(String targetNamespace)
| Parameter | Type | 描述 |
|---|---|---|
| targetNamespace | 字符串 | schema targetNamespace 属性。 |
ReturnValue
true if a schema with the specified target namespace URI is in the XmlSchemaSet; otherwise, false.
另见
- Class String
- Class XmlSchemaSet
- Namespace System::Xml::Schema
- Library Aspose.Page for C++