Plumtree EDK (Enterprise Web Development Kit) 5.4.0 |

# IContentItem.GetAssociatedPortletID Method

Returns the object ID of the portlet associated with this content item or 0 if there is no portlet association.

int GetAssociatedPortletID();

#### Return Value

The portlet object ID associated with this item.

#### Remarks

#### Exceptions

Exception Type | Condition
--- | ---
InvalidOperationException | The content item has been deleted.

#### See Also

IContentItem Interface | Plumtree.Remote.PRC.Content.Item Namespace | Searchable | SetAssociatedPortletID | ClearAssociatedPortletID