UxmlLongAttributeDescription.GetValueFromBag

Declaration

public long GetValueFromBag(UIElements.IUxmlAttributes bag, UIElements.CreationContext cc);

Parameters

bag The bag of attributes.
cc The context in which the values are retrieved.

Returns

long The value of the attribute.

Description

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


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