AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IFolder.RemoveAssociatedPortletID Method

Remove a portlet association from this folder.

void RemoveAssociatedPortletID(
int portletID
);

#### Parameters

portletID
  The portlet ID to associate with the folder.

#### Remarks

A portlet that was previously associated with this folder can be associated with a different folder after this method is called with the ID of that portlet.

Calling this method with a portlet ID that was not associated with the folder or on a folder that does not have any associated portlet IDs will not result in a exception.

The portlet disassociation will not be persisted until `Store` is called on the folder.

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | The folder has been deleted.
ArgumentException | The portlet ID is less than or equal to 0.

#### See Also

IFolder Interface | Plumtree.Remote.PRC.Content.Folder Namespace | AddAssociatedPortletID | GetAssociatedPortletIDs