System::Xml::Schema::XmlSchemaValidator::ValidateText 方法
XmlSchemaValidator::ValidateText(const String&) method
验证在当前元素上下文中指定的文本 string 是否被允许,如果当前元素具有简单内容,则累计该文本以供验证。
void System::Xml::Schema::XmlSchemaValidator::ValidateText(const String &elementValue)
| 参数 | 类型 | 描述 |
|---|---|---|
| elementValue | const String& | 在当前元素上下文中需要验证的文本 string。 |
另见
- Class String
- Class XmlSchemaValidator
- Namespace System::Xml::Schema
- Library Aspose.Font for C++
XmlSchemaValidator::ValidateText(XmlValueGetter) method
验证由指定的 XmlValueGetter 对象返回的文本是否在当前元素上下文中被允许,并在当前元素具有简单内容时累计文本以供验证。
void System::Xml::Schema::XmlSchemaValidator::ValidateText(XmlValueGetter elementValue)
| 参数 | 类型 | 描述 |
|---|---|---|
| elementValue | XmlValueGetter | 一个 XmlValueGetter 回调,用于将文本值以兼容属性的 XML Schema 定义语言(XSD)类型的形式传递。 |
另见
- Typedef XmlValueGetter
- Class XmlSchemaValidator
- Namespace System::Xml::Schema
- Library Aspose.Font for C++