System::Xml::Schema::XmlSchemaValidator::AddSchema 方法

XmlSchemaValidator::AddSchema method

向用于验证的模式集合添加 XML Schema 定义语言 (XSD) 模式。

void System::Xml::Schema::XmlSchemaValidator::AddSchema(const SharedPtr<XmlSchema> &schema)
ParameterType描述
schemaconst SharedPtr<XmlSchema>&要添加到用于验证的模式集合中的 XmlSchema 对象。

另见