var folder = (Folder) session.GetObject("/webdav/Test/Building%20Blocks/Default%20Templates"); var filter = new OrganizationalItemItemsFilter(session); var listXml = folder.GetListItems(filter);
The GetItems method returns a list of objects, and GetListItems returns an XML element. Depending on the version of Tridion you are using, you may not have the GetItems method implemented GetItems
You can set additional properties in the filter variable.
source share