Connection.removeAttribute

Removes a user defined attribute with the specified key if the current attribute value is equal to the specified value. This method is same with the following code except that the operation is performed atomically. <pre> if (containsAttribute(key) &amp;&amp; getAttribute(key).equals(value)) { removeAttribute(key); return true; } else { return false; } </pre>

@param key The key we want to remove @param value The value we want to remove @return <tt>true</tt> if the removal was successful

  1. Object removeAttribute(string key)
  2. bool removeAttribute(string key, Object value)
    interface Connection
    bool
    removeAttribute
    (
    string key
    ,
    Object value
    )

Meta