Request

Response

    IElement.AddAttributes method

    Adds multiple attributes to this element. These attributes are stored at the instance asset level and are not visible in Forma/PowerBI. They are available through the DX API for connector business logic. Note: If an attribute with the same name already exists on this element, its value is overwritten with the supplied value.

    public void AddAttributes(IDictionary<string, string> attributes)
    
    parameterdescription
    attributes Dictionary of attribute name-value pairs to add.

    Exceptions

    exceptioncondition
    ArgumentNullException Thrown when attributes dictionary is null.
    ArgumentException Thrown when attribute names or values are invalid.

    See Also