Experimental: this API is experimental and might be changed or removed in the future.

IUxmlFactory.AcceptsAttributeBag(IUxmlAttributes)

切换到手册

参数

bag属性包。

返回

void 如果工厂接受属性包的内容,则为 true。否则为 false。

描述

如果工厂接受属性包的内容,则返回 true。

使用此函数可根据工厂要求验证属性包的内容。如果缺少必需属性或属性值不正确,则返回 false。否则,如果工厂可以接受属性包内容,则返回 true。


Did you find this page useful? Please give it a rating: