Interface ICustomAttributes<TKey, TValue>
Contains methods and properties which allow to work with attributes.
public interface ICustomAttributes<TKey, TValue> : IReadOnlyAttributes<TKey, TValue>
Type Parameters
TKeyType of the attribute identifier.
TValueType of the attribute value.
Properties
Methods
- RemoveAttribute(TKey)
Removes attribute with
id.
- SetAttribute(TKey, TValue?)
Sets attribute value.
- SetAttribute<T2>(TKey, T2)
Sets attribute value.