AquaLogic Interaction Development Kit (IDK) 6.0.0 |

# IContentItemManager.GetContentItems Method (IFolder, IDataEntryTemplate)

Returns an array of `IContentItem`s using the specified `IDataEntryTemplate` in an `IFolder`.

IContentItem[] GetContentItems(
IFolder folder,
IDataEntryTemplate dataEntryTemplate
);

#### Parameters

folder
  The folder to retrieve content items from; cannot be `null`.
dataEntryTemplate
  The Data Entry Template; cannot be `null`.

#### Return Value

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

#### Remarks

Only the top level of the folder is searched; any subfolders are not searched.

#### Exceptions

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

#### See Also

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