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