bag | The attribute bag. |
cc | The context in which the method retrieves attribute values. |
Type The attribute's value. If the method cannot find the value, returns defaultValue.
Method that retrieves an attribute's value from an attribute bag. Returns it if it is found, otherwise return defaultValue.