AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IContentItemManager.GetContentItems Method (IFolder)

Returns all `IContentItem`s contained in a given `IFolder`.

IContentItem[] GetContentItems(
IFolder folder
);

#### Parameters

folder
  The folder to retrieve content items from; cannot be `null`.

#### Return Value

An array of `IContentItem`s in the specified folder or an empty array if there are no content items. The returned array is not ordered.

#### Remarks

Since all items shared the same access level as the containing folder, if a user has permission to access a folder, all items contained in that immediate folder will be returned.

#### Exceptions

Exception Type | Condition
--- | ---
ContentException | The method call resulted in a Publisher exception.
ContentSecurityException | The user does not have permission to access the folder.
SoapException | There was a communication problem during the execution of the remote method call.
InvalidOperationException | The folder has not been stored or has already been removed.

#### See Also

IContentItemManager Interface | Plumtree.Remote.PRC.Content.Item Namespace | IContentItemManager.GetContentItems Overload List