System::Xml::Schema::XmlSchemaValidator::GetUnspecifiedDefaultAttributes 方法

XmlSchemaValidator::GetUnspecifiedDefaultAttributes method

验证默认属性上的标识约束,并在元素上下文中使用 XmlSchemaValidator::ValidateAttribute 方法先前未验证的具有默认值的属性时,将指定的 List 填充为 XmlSchemaAttribute 对象。

void System::Xml::Schema::XmlSchemaValidator::GetUnspecifiedDefaultAttributes(const SharedPtr<Collections::Generic::List<SharedPtr<Object>>> &defaultAttributes)
参数类型描述
defaultAttributesconst SharedPtr<Collections::Generic::List<SharedPtr<Object>>>&用于在元素上下文中填充 List 的 XmlSchemaAttribute 对象,以包含任何尚未在验证期间遇到的属性。

另见