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

UxmlBoolAttributeDescription.GetValueFromBag

切换到手册
Obsolete public bool GetValueFromBag (Experimental.UIElements.IUxmlAttributes bag);

参数

bagThe bag of attributes.

返回

bool The value of the attribute.

描述

Retrieves the value of this attribute from the attribute bag. Returns it if it is found, otherwise return defaultValue.